diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-05 02:37:00 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-05 02:37:00 -0500 |
commit | 22fd269069b8e47bc40fbd8681243bdd4bd61a47 (patch) | |
tree | e16bbe17d985d1d567f83926fd1b7a417948083a /dbstore/sql/table-exists.sql | |
parent | 56cc399430d127cb628b3abe84bc653d2b0ce59b (diff) | |
download | cvez-22fd269069b8e47bc40fbd8681243bdd4bd61a47.tar.bz2 cvez-22fd269069b8e47bc40fbd8681243bdd4bd61a47.zip |
mv internal/dbstore dbstore
Diffstat (limited to 'dbstore/sql/table-exists.sql')
-rw-r--r-- | dbstore/sql/table-exists.sql | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dbstore/sql/table-exists.sql b/dbstore/sql/table-exists.sql new file mode 100644 index 0000000..09d32a4 --- /dev/null +++ b/dbstore/sql/table-exists.sql @@ -0,0 +1,6 @@ +SELECT EXISTS( + SELECT 1 + FROM sqlite_schema + WHERE type = 'table' + AND name = ? +) |