* Apply maxRows limit to a SELECT query using SQL Server TOP syntax
(sql: string, maxRows: number | undefined)
| 147 | * Apply maxRows limit to a SELECT query using SQL Server TOP syntax |
| 148 | */ |
| 149 | static applyMaxRowsForSQLServer(sql: string, maxRows: number | undefined): string { |
| 150 | if (!maxRows || !this.isSelectQuery(sql)) { |
| 151 | return sql; |
| 152 | } |
| 153 | return this.applyTopToQuery(sql, maxRows); |
| 154 | } |
| 155 | } |
no test coverage detected