mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-26 07:57:58 +00:00
sql: --list-tables for sqlite3.
This commit is contained in:
parent
219c95de2f
commit
17bbcfff1f
1
src/sql
1
src/sql
|
@ -783,6 +783,7 @@ sub tablelist {
|
||||||
("mysql" => "show tables;",
|
("mysql" => "show tables;",
|
||||||
"postgresql" => '\dt',
|
"postgresql" => '\dt',
|
||||||
"oracle" => ("SELECT object_name FROM user_objects WHERE object_type = 'TABLE';"),
|
"oracle" => ("SELECT object_name FROM user_objects WHERE object_type = 'TABLE';"),
|
||||||
|
"sqlite3" => ".tables",
|
||||||
);
|
);
|
||||||
if($statement{$dbdriver}) {
|
if($statement{$dbdriver}) {
|
||||||
return $statement{$dbdriver};
|
return $statement{$dbdriver};
|
||||||
|
|
Loading…
Reference in a new issue