0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-12 15:33:44 +00:00
ad hoc ad79ef48a2
libsql wal tests (#1408)
* add tests

* add bench
2024-05-24 13:59:17 +00:00

12 lines
226 B
Plaintext

PRAGMA writable_schema = 1;
BEGIN TRANSACTION;
CREATE TABLE t1(
a INT AS (c*11),
b TEXT AS (substr(d,1,3)) STORED,
c INTEGEB PRIMARI KEY, d TEXT
);
CREATE INDEX t1a ON t1(a);
COMMIT;