Skip to content

Commit f370cc6

Browse files
authored
Fix query builder wrap table schema name in double quotes (supabase#39067)
* Fix query builder wrap table schema name in double quotes * Patch * PATCH * Fix * Remove console log * Clean up * Simplify
1 parent cf2a372 commit f370cc6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/pg-meta/src/pg-format/reserved.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ export const POSTGRESQL_RESERVED_WORDS = new Set([
180180
'SYMMETRIC',
181181
'SYSDATE',
182182
'SYSTEM',
183+
'SYSTEM_USER',
183184
'TABLE',
184185
'TAG',
185186
'TDES',

packages/pg-meta/src/query/QueryFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Filter, FilterOperator, QueryTable, Sort, Dictionary } from './types'
21
import { IQueryModifier, QueryModifier } from './QueryModifier'
2+
import type { Dictionary, Filter, FilterOperator, QueryTable, Sort } from './types'
33

44
export interface IQueryFilter {
55
filter: (column: string, operator: FilterOperator, value: string) => IQueryFilter

0 commit comments

Comments
 (0)