Skip to content

Commit

Permalink
fix attw
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchwadair committed Jan 6, 2025
1 parent cb41edf commit 8a13fab
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions drizzle-orm/src/singlestore-core/columns/vector.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import type { ColumnBaseConfig } from '~/column';
import type { ColumnBuilderBaseConfig, ColumnBuilderRuntimeConfig, MakeColumnConfig } from '~/column-builder';
import type { ColumnBuilderBaseConfig, ColumnBuilderRuntimeConfig, MakeColumnConfig } from '~/column-builder.ts';
import type { ColumnBaseConfig } from '~/column.ts';
import { entityKind } from '~/entity.ts';
import type { AnySingleStoreTable } from '~/singlestore-core/table.ts';
import { SQL } from '~/sql/index.ts';
import { getColumnNameAndConfig } from '~/utils.ts';
import { SingleStoreColumn, SingleStoreColumnBuilder } from './common.ts';
import { SingleStoreColumn, SingleStoreColumnBuilder, SingleStoreGeneratedColumnConfig } from './common.ts';

export type SingleStoreVectorBuilderInitial<TName extends string> = SingleStoreVectorBuilder<{
name: TName;
Expand Down Expand Up @@ -34,6 +35,11 @@ export class SingleStoreVectorBuilder<T extends ColumnBuilderBaseConfig<'array',
this.config as ColumnBuilderRuntimeConfig<any, any>,
);
}

/** @internal */
override generatedAlwaysAs(as: SQL<unknown> | (() => SQL) | T['data'], config?: SingleStoreGeneratedColumnConfig) {
throw new Error('not implemented');
}
}

export class SingleStoreVector<T extends ColumnBaseConfig<'array', 'SingleStoreVector'>>
Expand Down

0 comments on commit 8a13fab

Please sign in to comment.