MCPcopy Create free account
hub / github.com/bytebase/dbhub /

Class

src/utils/sql-row-limiter.ts:6–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 * Shared utility for applying row limits to SELECT queries only using database-native LIMIT clauses
5 */
6export class SQLRowLimiter {
7 /**
8 * Check if a SQL statement is a SELECT query that can benefit from row limiting
9 * Only handles SELECT queries

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected