O
O
oc1tane2018-10-18 19:31:58
PostgreSQL
oc1tane, 2018-10-18 19:31:58

ORM sequelize how to call sql function?

I'm trying to display information from a postgresql database, I use node.js as a backend, and sequelize as an ORM. There are very few tutorials on this orm on the Internet, and not everything is going smoothly with the official site. Tell me how you can display information from the pg base if the request is not a field, but a function.
SELECT * FROM func Name(var, table)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-10-18
@0xD34F

How about using sequilize.query ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question