Fix postgres tests.

This commit is contained in:
Sam Rose 2024-04-11 10:21:30 +01:00
parent 672025e176
commit 5a36422b97
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export async function search(
options: RowSearchParams
): Promise<SearchResponse<Row>> {
const isExternalTable = isExternalTableID(options.tableId)
options.query = removeEmptyFilters(options.query)
options.query = removeEmptyFilters(options.query || {})
if (
!dataFilters.hasFilters(options.query) &&
options.query.onEmptyFilter === EmptyFilterOption.RETURN_NONE