Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
23 lines
846 B
Plaintext
23 lines
846 B
Plaintext
import { entityKind } from "../entity.cjs";
|
|
import { type SingleStoreTableFn } from "./table.cjs";
|
|
export declare class SingleStoreSchema<TName extends string = string> {
|
|
readonly schemaName: TName;
|
|
static readonly [entityKind]: string;
|
|
constructor(schemaName: TName);
|
|
table: SingleStoreTableFn<TName>;
|
|
}
|
|
/** @deprecated - use `instanceof SingleStoreSchema` */
|
|
export declare function isSingleStoreSchema(obj: unknown): obj is SingleStoreSchema;
|
|
/**
|
|
* Create a SingleStore schema.
|
|
* https://docs.singlestore.com/cloud/create-a-database/
|
|
*
|
|
* @param name singlestore use schema name
|
|
* @returns SingleStore schema
|
|
*/
|
|
export declare function singlestoreDatabase<TName extends string>(name: TName): SingleStoreSchema<TName>;
|
|
/**
|
|
* @see singlestoreDatabase
|
|
*/
|
|
export declare const singlestoreSchema: typeof singlestoreDatabase;
|