R
R
Roman2019-06-08 04:42:57
Node.js
Roman, 2019-06-08 04:42:57

Is there a Node.js analogue of PDO for PDO?

Hello.
Is there an analogue of the PDO library for Node.js?
What is generally done to filter data from a form on the server side before inserting it into a SQL query?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2019-06-08
@procode

Usually they take knex instead of PDO. For Mongo take mongoose.
For filtering, you can look for some stuff like Swagger . You can add Joi or Hapi for more thrills.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question