aboutsummaryrefslogtreecommitdiff
path: root/internal/dbstore/testdata/sql/table-exists.sql
blob: 09d32a4dfcbbdfa44ede6ee8801bf2141a9289a8 (plain)
1
2
3
4
5
6
SELECT EXISTS(
  SELECT 1
    FROM sqlite_schema
   WHERE type = 'table'
     AND name = ?
)