mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-27 17:56:26 +02:00
GT
This commit is contained in:
parent
3db69bd8ed
commit
1ec1b89f60
3 changed files with 111 additions and 21 deletions
15
test.sql
15
test.sql
|
|
@ -4,6 +4,21 @@
|
|||
|
||||
.mode qbox
|
||||
|
||||
|
||||
create table t as select value from json_each('["aaaa","aaaaaaaaaaaa_aaa","bbbb","bbbbbbbbbbbb_bbb","cccc","cccccccccccc_ccc"]') order by 1;
|
||||
|
||||
|
||||
.param set :p 'bbbbbbbbbbbb_ccc'
|
||||
|
||||
select :p;
|
||||
|
||||
select *
|
||||
from t
|
||||
where value > :p
|
||||
order by value desc;
|
||||
|
||||
.exit
|
||||
|
||||
create virtual table v using vec0(
|
||||
vector float[1],
|
||||
+description text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue