[TSM.ID].[11031972] PXE : Platform X Ecosystem I [118 Module -LIVE-]
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
const postgres = require('postgres');
|
||||
|
||||
const sql = postgres('postgresql://jumpa_admin:JumpaS3cur3%21%40%23@127.0.0.1:5432/jumpadb');
|
||||
|
||||
async function check() {
|
||||
const users = await sql`SELECT id, email, licenses FROM users WHERE email = 'keanu@pc24.id'`;
|
||||
console.log('User:', users[0].email);
|
||||
console.log('Licenses:', users[0].licenses);
|
||||
process.exit(0);
|
||||
}
|
||||
check();
|
||||
Reference in New Issue
Block a user