CreateSchemaBuilder
class CreateSchemaBuilder implements OperationNodeSource, Compilable {}
constructor(props: CreateSchemaBuilderProps);
$call<T>(func: (qb: this) => T): T;
compile(): CompiledQuery;
execute(): Promise<void>;
ifNotExists(): CreateSchemaBuilder;
toOperationNode(): CreateSchemaNode;
§Constructors
§
new CreateSchemaBuilder(props: CreateSchemaBuilderProps)
[src]§Methods
§
$call<T>(func: (qb: this) => T): T
[src]Simply calls the provided function passing this
as the only argument. $call
returns
what the provided function returns.
§
compile(): CompiledQuery
[src]§
ifNotExists(): CreateSchemaBuilder
[src]§
toOperationNode(): CreateSchemaNode
[src]