mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-15 08:39:46 +00:00
ad79ef48a2
* add tests * add bench
21 lines
351 B
Plaintext
21 lines
351 B
Plaintext
|
|
CREATE TABLE t1(a, b COLLATE nocase, PRIMARY KEY(a, a, b)) WITHOUT ROWID;
|
|
|
|
|
|
CREATE TABLE t2(a, b, PRIMARY KEY(a COLLATE nocase, a)) WITHOUT ROWID;
|
|
|
|
|
|
INSERT INTO t2 VALUES(1, 'one');
|
|
SELECT b FROM t2;
|
|
|
|
|
|
PRAGMA index_info(t2);
|
|
|
|
|
|
PRAGMA index_xinfo(t2);
|
|
|
|
|
|
CREATE TABLE t3(a, b, PRIMARY KEY(a COLLATE nocase, a));
|
|
PRAGMA index_info(t3);
|
|
|