pub fn create_table_sql(table: &str, dimensions: usize) -> StringExpand description
Returns the CREATE TABLE statement for a given table name and dimension count.
The table stores document IDs, embedding vectors, text content, and arbitrary JSONB metadata.
ยงExample
let sql = daimon_plugin_pgvector::migrations::create_table_sql("documents", 1536);
assert!(sql.contains("vector(1536)"));