diff --git a/packages/backend-core/src/sql/sql.ts b/packages/backend-core/src/sql/sql.ts index 76d554d211..758dfa7fec 100644 --- a/packages/backend-core/src/sql/sql.ts +++ b/packages/backend-core/src/sql/sql.ts @@ -1537,8 +1537,7 @@ class InternalBuilder { limits?: { base: number; query: number } } = {} ): Knex.QueryBuilder { - const { operation, filters, paginate, relationships, table, resource } = - this.query + const { operation, filters, paginate, relationships, table } = this.query const { limits } = opts // start building the query