Closed seyfer closed 5 months ago
Hey,
there is a mistake in docs for usage with Knex.js and if I go to the schema: Knex.SchemaBuilder; type, there is no such method.
schema: Knex.SchemaBuilder;
Hi @seyfer, importing the library adds that method (first step in the docs).
import pgvector from 'pgvector/knex';
@ankane ah ok, this is because I use Typescript. then I will have to do @ts-ignore
@ts-ignore
Hey,
there is a mistake in docs for usage with Knex.js and if I go to the
schema: Knex.SchemaBuilder;
type, there is no such method.