0.0.5 • Published 2 years ago

query-database v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

query-database

Execute a query that runs in all columns of all tables and return the tables, columns and rows.

Like Ctrl+Shift+F in some code editors, but with a database.

Examples

Find all tables containing "Michael" in any row in any column and list for each table the colums and for each column the rows containing "Michael."

query-database -D sakila -w '`x` like "%Michael%"'

Same thing but using another name to reference the column

query-database -D sakila -c 'column' -w '`column` like "%Michael%"'

Install

npm install -g query-database
0.0.5

2 years ago

0.0.1

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.4

2 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago