Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

node.js

How to decrypt AES-256 in node.js

November 30, 2022 by Magenaut

I’m struggling to decode a piece of AES-256 encrypted base64 coded data in node.js. The data was encoded in Salesforce. I tried various different aes algorithms but without luck.

Categories Q&A, Salesforce Tags crypto, node.js Leave a comment

Pass the dropdown selected value to NodeJS for querying database

November 29, 2022 by Magenaut

i have created one dropdown that passes data to NodeJS through axios post i can see that in console log of nodejs Post but cant able to use the value outside the post function

Categories MySQL, Q&A Tags mysql, node.js Leave a comment

Node.JS is returning only a part of records for the MySQL “WHERE IN” clause

November 29, 2022 by Magenaut

I am trying to execute the following GET function.

Categories MySQL, Q&A Tags get, http, javascript, mysql, node.js Leave a comment

TypeScript correctly type a queryresult MySQL

November 29, 2022 by Magenaut

I am using the mysql2/promise npm package for connecting and doing queries to a MySQL database. I got confused trying to set the correct typing for my query result, because I don’t know in advance what type the result will be.

Categories MySQL, Q&A Tags mysql, node.js, promise, typescript Leave a comment

Get selected dropdown value from react to nodejs

November 29, 2022 by Magenaut

I want to query a database with the values i get from dropdown menu. my dropdown will look like this
Get selected dropdown value from react to nodejs

Categories MySQL, Q&A Tags mysql, node.js, reactjs Leave a comment

Is it possible with MySQL to search for a value and with its results use those to complete the search in one statement?

November 29, 2022 by Magenaut

A little confused with how I’d do this at all in a single statement. If it’s possible?

Categories MySQL, Q&A Tags mysql, node.js Leave a comment

add titles for the uploaded images in nodejs,mysql and react

November 29, 2022 by Magenaut

add titles for the uploaded images in nodejs,mysql and react

Categories MySQL, Q&A Tags mysql, node.js, reactjs Leave a comment

Sharing user_id value between two MySql table

November 29, 2022 by Magenaut

I’m working on my middleware AuthController.js below. The middleware is part of a CRUD app. I created exports.create which when requested will collect the first name and last name from the CRUD form. Once collected the MySql INSERT query, will insert the data on the MySql user table which is working fine.

Categories MySQL, Q&A Tags crud, express, javascript, mysql, node.js Leave a comment

upload image path to mysql along with the user name who uploads the image

November 29, 2022 by Magenaut

i have created one dB that stores URL and name of the images in MySQL and NodeJS and react, I have a login function with node and react. what I want is when user uploads images I want to store it under the user so only he can view that. can you guide me how … Read more

Categories MySQL, Q&A Tags mysql, node.js, reactjs Leave a comment

When a MySQL pool connection is released, should the connection stay open and would this affect max connections?

November 29, 2022 by Magenaut

I’m working with MySQL more and ran into a question I can’t seem to find an answer for without experimenting myself or looking much deeper.

Categories MySQL, Q&A Tags mysql, node.js Leave a comment
Older posts
Page1 Page2 … Page1,319 Next →

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress