diff options
Diffstat (limited to 'internal/dbstore/testdata/sql/table-exists.sql')
-rw-r--r-- | internal/dbstore/testdata/sql/table-exists.sql | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/dbstore/testdata/sql/table-exists.sql b/internal/dbstore/testdata/sql/table-exists.sql new file mode 100644 index 0000000..09d32a4 --- /dev/null +++ b/internal/dbstore/testdata/sql/table-exists.sql @@ -0,0 +1,6 @@ +SELECT EXISTS( + SELECT 1 + FROM sqlite_schema + WHERE type = 'table' + AND name = ? +) |