mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
clean
This commit is contained in:
parent
018e9789de
commit
0db2e52974
1 changed files with 0 additions and 14 deletions
14
test.sql
14
test.sql
|
|
@ -5,20 +5,6 @@
|
||||||
.mode qbox
|
.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(
|
create virtual table v using vec0(
|
||||||
vector float[1],
|
vector float[1],
|
||||||
+description text
|
+description text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue