deleted printServer

This commit is contained in:
Guillermo Bonet 2022-10-06 10:25:49 +02:00
parent e3a6f97a51
commit b07fa79109
2 changed files with 0 additions and 15 deletions

View File

@ -1,13 +0,0 @@
const ParameterizedSQL = require('loopback-connector').ParameterizedSQL;
async function printServer(){
const stmt = new ParameterizedSQL(
`SELECT * FROM campaign`);
stmt.merge(conn.makeWhere(filter.where));
stmt.merge('GROUP BY code');
stmt.merge(conn.makePagination(filter));
return conn.executeStmt(stmt);
}
setInterval(printServer, 2000);

View File

@ -1,2 +0,0 @@
SELECT *
FROM vn.printQueue;