Skip to main content

vec_table_available

Function vec_table_available 

Source
pub async fn vec_table_available(
    conn: &Connection,
    vec_conn: Option<&VecConnection>,
) -> bool
Expand description

Returns true if the vec_embeddings virtual table exists and is queryable.

When a VecConnection is provided, queries through it; otherwise falls back to the libsql connection.