MCPcopy Create free account
hub / github.com/damms005/devdb-vscode / getTotalRows

Method getTotalRows

src/database-engines/mysql-engine.ts:105–107  ·  view source on GitHub ↗
(table: string, columns: Column[], whereClause?: Record<string, any>)

Source from the content-addressed store, hash-verified

103 }
104
105 async getTotalRows(table: string, columns: Column[], whereClause?: Record<string, any>): Promise<number> {
106 return SqlService.getTotalRows(this, 'mysql2', this.connection, table, columns, whereClause);
107 }
108
109 async getRows(table: string, columns: Column[], limit: number, offset: number, whereClause?: Record<string, any>): Promise<QueryResponse | undefined> {
110 return SqlService.getRows(this, 'mysql2', this.connection, table, columns, limit, offset, whereClause);

Callers

nothing calls this directly

Calls 1

getTotalRowsMethod · 0.65

Tested by

no test coverage detected