UNPKG

puddysql

Version:

🍮 Powerful SQL toolkit for Node.js, built with flexibility and structure in mind. Easily manage SQLite3/PostgreSQL, advanced queries, smart tag systems, and full JSON-friendly filters.

26 lines (25 loc) 630 B
export default PuddySqlEvents; /** * List of event names used by PuddySql in the EventEmitter. * Each key maps to its string identifier. */ declare class PuddySqlEvents { /** * Constant identifier used to represent a connection failure. * * This can be thrown, logged, or compared when the database connection is not available. * * @type {string} * @static */ static ConnectionError: string; /** * @returns {string[]} */ static get all(): string[]; /** * @param {string} event * @returns {boolean} */ static isValid(event: string): boolean; }