prueba conexión escolares

This commit is contained in:
Lemuel Marquez
2021-05-19 01:12:33 -05:00
parent 97261ad2e4
commit b5c332e07d
+2 -1
View File
@@ -6,13 +6,14 @@ const pool = mariadb.createPool({
user: process.env.ESCOLARES_USER,
password: process.env.ESCOLARES_PASSWORD,
database: process.env.ESCOLARES_DB,
connectionLimit: 5,
});
pool
.getConnection()
.then((conn) => {
conn
.query("CALL busca_alumno_pcpuma('412123573')")
.query("CALL busca_alumno_pcpuma('316313528')")
.then((rows) => {
console.log(rows);
conn.end();