Initial commit

This commit is contained in:
Ammaar Reshi
2025-01-04 14:06:53 +00:00
parent 7082408604
commit d6025af146
23760 changed files with 3299690 additions and 0 deletions

24
node_modules/drizzle-orm/mysql-core/schema.d.ts generated vendored Normal file
View File

@ -0,0 +1,24 @@
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;