UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

15 lines (14 loc) 374 B
import yargs from "yargs"; /** * Executes an SQL query on the given dataSource. */ export declare class QueryCommand implements yargs.CommandModule { command: string; describe: string; builder(args: yargs.Argv): yargs.Argv<{ query: string | undefined; } & { dataSource: unknown; }>; handler(args: yargs.Arguments): Promise<void>; }