mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
knn cleanups and tests
This commit is contained in:
parent
b1e7a93a11
commit
f217cbf2bd
8 changed files with 1328 additions and 398 deletions
16
tests/leak-fixtures/each.sql
Normal file
16
tests/leak-fixtures/each.sql
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
.load dist/vec0
|
||||
.mode box
|
||||
.header on
|
||||
.eqp on
|
||||
.echo on
|
||||
|
||||
select sqlite_version(), vec_version();
|
||||
|
||||
select * from vec_each('[1,2,3]');
|
||||
|
||||
select *
|
||||
from json_each('[
|
||||
[1,2,3,4],
|
||||
[1,2,3,4]
|
||||
]')
|
||||
join vec_each(json_each.value);
|
||||
Loading…
Add table
Add a link
Reference in a new issue