diff --git a/README.md b/README.md
index 09d08bc..aadcb45 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,7 @@ limit 2
msg.payload.records - the array of records returned from the query.
The query can be configured in the node, however if left blank, the query should be set in an incoming message on msg.query.
+By default the query will return the first 2,000 records from the query result. If you wish to return the full result set then tick the 'Fetch All Records' checkbox.
See the Salesforce SOQL documentation for more information.
SOSL
diff --git a/dml.js b/dml.js
index 8a76038..fec7f4d 100644
--- a/dml.js
+++ b/dml.js
@@ -76,7 +76,7 @@ module.exports = function(RED) {
node.status({});
}).error(function(err) {
node.status({fill:"red",shape:"dot",text:"Error!"});
- node.error(err);
+ node.error(err, msg);
});
});
diff --git a/package.json b/package.json
index e5e8ba7..414fae8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-salesforce",
- "version": "0.0.5",
+ "version": "0.0.6",
"description": "A set of Node-RED nodes to interact with Salesforce and Force.com.",
"author": {
"name": "Jeff Douglas",
diff --git a/soql.html b/soql.html
index d407d54..08a3138 100644
--- a/soql.html
+++ b/soql.html
@@ -5,7 +5,8 @@
defaults: {
name: {value:""},
query: {value:""},
- connection: {value:"", type:"connection-config", required: true}
+ connection: {value:"", type:"connection-config", required: true},
+ fetchAll: {value:false}
},
inputs:1,
outputs:1,
@@ -29,6 +30,10 @@
Query
+
+ Fetch all result records
+
+