Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 91x 91x 118x 91x | import { YdbColumn, YdbColumnBuilder } from './common.js'
export class YdbTextBuilder extends YdbColumnBuilder {
constructor(name: string) {
super(name, 'string', 'YdbText')
}
override build<TTable>(table: TTable): YdbText {
return new YdbText(table as any, this.config)
}
}
export class YdbText extends YdbColumn {
override getSQLType(): string {
return 'Utf8'
}
}
export function text(name?: string): YdbTextBuilder
export function text(a?: string): YdbTextBuilder {
return new YdbTextBuilder(a ?? '')
}
|