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

Method getTotalRows

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

Source from the content-addressed store, hash-verified

162 }
163
164 async getTotalRows(table: string, columns: Column[], whereClause?: Record<string, any>): Promise<number> {
165 return SqlService.getTotalRows(this, 'postgres', this.connection, table, columns, whereClause);
166 }
167
168 async getRows(table: string, columns: Column[], limit: number, offset: number, whereClause?: Record<string, any>): Promise<QueryResponse | undefined> {
169 return SqlService.getRows(this, 'postgres', this.connection, table, columns, limit, offset, whereClause);

Callers

nothing calls this directly

Calls 1

getTotalRowsMethod · 0.65

Tested by

no test coverage detected