Saturday, April 27

more

Stored Procedure for node.js

more
User.createuser = (req, result) => { sql.query("INSERT INTO Users SET ?", req, (err, res) => { if (err) { console.log("error: ", err); result(err, null); return; } // if (await User.findOne({ where: { username: req.body.username } })) { // throw 'Username "' + req.body.username + '" is already taken'; // } console.log("created User: ", { id: res.insertId, ...req }); result(null, { id: res.insertId, ...req }); }); }; Example json object for api create route (post method) { "username": "seve", "user_name": "sev123", "user_surname": "avcı", "email": "sevre@gmail.com", "user_type": "user", "password": "123456" } The "I...
How To [Pii_pn_17ae00974a128627] Error Code 2021?

How To [Pii_pn_17ae00974a128627] Error Code 2021?

more
If you see [pii_pn_17ae00974a128627] error code, it means that your Outlook doesn’t work correctly. So, what can you do to get Outlook work correctly? Here are several simple instructions: If you are using multiple accounts and a program is running on Windows, try to log out of all accounts, clear cache, then login back in. [pii_pn_17ae00974a128627]error could be caused by installation process, that Outlook conflicts with other e-mail accounts or other software installed on your PC. So, you may need to remove broken version of Outlook from your personal PC, then install the latest version of Outlook from official website Microsoft Outlook. Try to use a web-based version of application Microsoft Outlook Web-Version. Upgrade you Microsoft Outlook version to actual one. If yo...