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

Method getTotalRows

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

Source from the content-addressed store, hash-verified

133 }
134
135 async getTotalRows(table: string, columns: Column[], whereClause?: Record<string, any>): Promise<number> {
136 await this.ensureConnected()
137 return this.wrappedEngine?.getTotalRows(table, columns, whereClause) ?? 0
138 }
139
140 async getRows(table: string, columns: Column[], limit: number, offset: number, whereClause?: Record<string, any>): Promise<QueryResponse | undefined> {
141 await this.ensureConnected()

Callers

nothing calls this directly

Calls 2

ensureConnectedMethod · 0.95
getTotalRowsMethod · 0.65

Tested by

no test coverage detected