mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 16:56:27 +02:00
_info shadow table
This commit is contained in:
parent
a12c0d73e6
commit
672868d910
9 changed files with 195 additions and 40 deletions
|
|
@ -22,6 +22,11 @@ def test_shadow(db, snapshot):
|
|||
)
|
||||
|
||||
|
||||
def test_info(db, snapshot):
|
||||
db.execute("create virtual table v using vec0(a float[1])")
|
||||
assert exec(db, "select key, typeof(value) from v_info order by 1") == snapshot()
|
||||
|
||||
|
||||
def exec(db, sql, parameters=[]):
|
||||
try:
|
||||
rows = db.execute(sql, parameters).fetchall()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue