@fachkraftfreund/n8n-nodes-supabase 1.2.16 → 1.2.17
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.
|
@@ -924,6 +924,21 @@ class Supabase {
|
|
|
924
924
|
}
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
|
+
else if (resource === 'database' && operation === 'read') {
|
|
928
|
+
try {
|
|
929
|
+
const operationResults = await database_1.executeDatabaseOperation.call(this, supabase, operation, 0, credentials.host);
|
|
930
|
+
returnData.push(...operationResults);
|
|
931
|
+
}
|
|
932
|
+
catch (error) {
|
|
933
|
+
const errorMessage = error instanceof Error ? error.message : 'Unknown error occurred';
|
|
934
|
+
if (this.continueOnFail()) {
|
|
935
|
+
returnData.push({ json: { error: errorMessage } });
|
|
936
|
+
}
|
|
937
|
+
else {
|
|
938
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), errorMessage);
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
927
942
|
else {
|
|
928
943
|
for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
|
|
929
944
|
try {
|
package/package.json
CHANGED