You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: machines/send-native-query.js
+7-4
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,13 @@ module.exports = {
13
13
require('../constants/connection.input'),
14
14
15
15
nativeQuery: {
16
-
description: 'A native query for the PostgreSQL database.',
17
-
extendedDescription: 'This is oftentimes compiled from Waterline query syntax using "Compile statement", however it could also originate from userland code.',
16
+
description: 'A SQL statement as a string (or to use parameterized queries, this should be provided as a dictionary).',
17
+
extendedDescription: 'If provided as a dictionary, this should contain `sql` (the SQL statement string; e.g. \'SELECT * FROM dogs WHERE name = $1\') as well as an array of `bindings` (e.g. [\'Rover\']).',
description: 'The native query was executed successfully.',
33
36
outputVariableName: 'report',
34
37
outputDescription: 'The `result` property is the result data the database sent back. The `meta` property is reserved for custom driver-specific extensions.',
0 commit comments