vecs icon indicating copy to clipboard operation
vecs copied to clipboard

Export SQL for a migration

Open olirice opened this issue 2 years ago • 0 comments

Vecs does not currently interop well with migrations.

Provide a function that exports a SQL snippet that can be used to setup a migration

Example

docs = vx.create_collection(...)

docs.export_migration()
# Returns: "create table vecs.docs ......"

olirice avatar Jun 01 '23 19:06 olirice