Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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;
}

§Implements

§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.

§
execute(): Promise<void>
[src]
§
toOperationNode(): CreateSchemaNode
[src]