UNPKG

@dbcube/schema-builder

Version:

The DBCube Query Builder is a lightweight, flexible, and fluent library for building queries across multiple database engines, including MySQL, PostgreSQL, SQLite, and MongoDB, using JavaScript/Node.js. Its agnostic design allows you to generate data man

17 lines (15 loc) 470 B
/** * Main class to handle MySQL database connections and queries. * Implements the Singleton pattern to ensure a single instance of the connection pool. */ declare class Schema { private name; private engine; constructor(name: string); createDatabase(): Promise<any>; refreshTables(): Promise<any>; freshTables(): Promise<any>; executeSeeders(): Promise<any>; executeTriggers(): Promise<any>; } export { Schema, Schema as default };