DIR : /home/kozerus/public_html/cropex/node/node_modules/drizzle-orm/mysql-core/schema.d.ts

/home/kozerus/public_html/cropex/node/node_modules/drizzle-orm/mysql-core

import { entityKind } from "../entity.js";
import { type MySqlTableFn } from "./table.js";
import { type mysqlView } from "./view.js";
export declare class MySqlSchema<TName extends string = string> {
    readonly schemaName: TName;
    static readonly [entityKind]: string;
    constructor(schemaName: TName);
    table: MySqlTableFn<TName>;
    view: typeof mysqlView;
}
/** @deprecated - use `instanceof MySqlSchema` */
export declare function isMySqlSchema(obj: unknown): obj is MySqlSchema;
/**
 * Create a MySQL schema.
 * https://dev.mysql.com/doc/refman/8.0/en/create-database.html
 *
 * @param name mysql use schema name
 * @returns MySQL schema
 */
export declare function mysqlDatabase<TName extends string>(name: TName): MySqlSchema<TName>;
/**
 * @see mysqlDatabase
 */
export declare const mysqlSchema: typeof mysqlDatabase;
//


koh5_pano



Your browser does not support the HTML5 canvas element.


Drag mouse to navigate.

Navigation





17.Aug.2010, Martin Wengenmayer