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: README.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -220,18 +220,19 @@ connect('nedb://memory');
220
220
221
221
After connecting to a datastore you can import and create clients. A client is created using the create method on the Filemaker class. The FileMaker class accepts an object with the following properties:
| database | <code>String</code> | The FileMaker database to connect to |
226
+
| server | <code>String</code> | The FileMaker server to use as the host. **Note:** Must be an http or https Domain. |
227
+
| user | <code>String</code> | The FileMaker user account to be used when authenticating into the Data API |
228
+
| password | <code>String</code> | The FileMaker user account's password. |
229
+
|[name]| <code>String</code> | A name for the client. |
230
+
|[usage]| <code>Boolean</code> | Track Data API usage for this client. **Note:** Default is `true`|
231
+
|[timeout]| <code>Number</code> | The default timeout time for requests **Note:** Default is 0, (no timeout) |
232
+
|[concurrency]| <code>Number</code> | The number of concurrent requests that will be made to FileMaker |
233
+
|[proxy]| <code>Object</code> | settings for a proxy server |
234
+
|[agent]| <code>Object</code> | settings for a custom request agent |
235
+
|[convertLongNumbersToStrings]| <code>Boolean</code> | Converts long numbers like Get(UUIDNumber) and Random() to strings in responses |
235
236
236
237
:warning: You should only use the agent parameter when absolutely necessary. The Data API was designed to be used on https. Deviating from the intended use should be done with caution.
* @description The parseBigInt function performs a try catch before attempting to parse the value as JSON. If the value is not valid JSON it wil return the value. Long numbers are returned as strings.
118
+
* @see isJSON
119
+
* @param {Any} value The value to attempt to parse.
120
+
* @return {Object|Any} A JSON object or array of objects without the properties passed to it
0 commit comments