@teamkeel/functions-runtime 0.221.0 → 0.221.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -168,7 +168,7 @@ declare module '@teamkeel/functions-runtime/query' {
|
|
|
168
168
|
private readonly logger;
|
|
169
169
|
constructor({ tableName, queryResolver, logger }: QueryOpts);
|
|
170
170
|
create: (inputs: Partial<T>) => Promise<ReturnTypes.FunctionCreateResponse<T>>;
|
|
171
|
-
|
|
171
|
+
raw: (sql: string) => Promise<QueryResultRow[]>;
|
|
172
172
|
where: (conditions: Conditions<T>) => ChainableQuery<T>;
|
|
173
173
|
delete: (id: string) => Promise<ReturnTypes.FunctionDeleteResponse<T>>;
|
|
174
174
|
findOne: (conditions: Conditions<T>) => Promise<ReturnTypes.FunctionGetResponse<T>>;
|
package/dist/index.js
CHANGED
|
@@ -25105,7 +25105,7 @@ var Query = class {
|
|
|
25105
25105
|
errors: []
|
|
25106
25106
|
};
|
|
25107
25107
|
};
|
|
25108
|
-
this.
|
|
25108
|
+
this.raw = async (sql) => {
|
|
25109
25109
|
return this.queryResolver.runRawQuery(sql);
|
|
25110
25110
|
};
|
|
25111
25111
|
this.where = (conditions) => {
|