vn-rfid/db/querys/getArcs.js

7 lines
181 B
JavaScript

import con from '../connect.js';
export default async() => {
const [arcs] = await con.query(`SELECT id as arcId, printerFk, ip, minimum FROM vn.arcRead;`);
return arcs;
};