8000 GitHub - Richie765/pg-analyze: Determine which tables are used in a PostgreSQL query.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Richie765/pg-analyze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pg-analyze

Determine which tables are used in a PostgreSQL query.

import { tablesUsed } from 'pg-analyze';

async function start() {
  var query = 'SELECT * FROM table1, table2, table3';

  var tables = await tablesUsed(query, params);

  console.log(tables);
}

start();

About

Determine which tables are used in a PostgreSQL query.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0