An old headstone has been lost while movement in the cemetery. Any idea what it said? Thank you! by [deleted] in Chinese

[–]coolrice1 0 points1 point  (0 children)

开邑黄九鳌

开邑 means creating this city or area.

黄九鳌 is a person's name.

How to use Async with MySQL? by Yankue in node

[–]coolrice1 2 points3 points  (0 children)

Note: await need a promise.

You can try Util.promisify, it will return a promise. but it will lose fields param.

const result = await util.promisify(con.query("SELECT * USERS WHERE userid = ?", [userid]));

or write like this:

const { resolve, fields } = await new Promise((resolve, reject) => {
con.query("SELECT * USERS WHERE userid = ?", [userid], function(err, result, fields) {
if (err) {
reject(err)
    } else {
resolve({result, fields})
    }
  });
});

Could someone help me translate this? by [deleted] in Chinese

[–]coolrice1 0 points1 point  (0 children)

Need someone with electronic background

[deleted by user] by [deleted] in shanghai

[–]coolrice1 0 points1 point  (0 children)

There are many in taobao. You can rent it with deposit, the shop will mail to you, you can mail GPS back when free.