dresende/node-sql-query

Need help for a select MSSQL

Closed this issue · 1 comments

Hello,

I have to make a request like " SELECT * FROM [database].[table] ". But I don't understand how to create the query.
What function should I use to make such a request ?

Thx

There's no way of specifying database, you should have it previously "selected".

const sql = require("sql-query");

console.log(sql.select().from("table").build());