• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / storage / 30106451275

24 Jul 2026 03:42PM UTC coverage: 80.304% (-0.1%) from 80.45%
30106451275

Pull #1266

github

web-flow
Merge 763a5d0b6 into 42bb7886c
Pull Request #1266: fix: simpler caches by outcome and metrics

5618 of 7536 branches covered (74.55%)

Branch coverage included in aggregate %.

43 of 48 new or added lines in 3 files covered. (89.58%)

2458 existing lines in 106 files now uncovered.

10731 of 12823 relevant lines covered (83.69%)

411.64 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/internal/database/sql.ts
1
const POSTGRES_IDENTIFIER_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/
120✔
2

3
export function quoteIdentifier(identifier: string): string {
4
  if (!POSTGRES_IDENTIFIER_PATTERN.test(identifier)) {
20,401✔
UNCOV
5
    throw new Error(`Invalid PostgreSQL identifier: ${identifier}`)
3✔
6
  }
7

8
  return `"${identifier}"`
20,398✔
9
}
10

11
export function quoteQualifiedIdentifier(tableName: string): string {
12
  const [schema, name, ...rest] = tableName.split('.')
24✔
13

14
  if (!schema || !name || rest.length > 0) {
24✔
UNCOV
15
    throw new Error(`Invalid PostgreSQL table name: ${tableName}`)
2✔
16
  }
17

18
  return `${quoteIdentifier(schema)}.${quoteIdentifier(name)}`
22✔
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc