Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Inserts records in SQL database from records in memory.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Matrix | 9.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
MatrixRef | The matrix reference number. | $matrix | |
Connection | The connection reference number gained with SQL.NewConnection. | $Connection | |
InsertTableName | The name of the table to insert record into. | "Assets" | |
FieldNames | A list of field names for the insert. Empty entries in the list are ignored. |
"Model¶Names" | |
StartRow | The index of the start row. First row is 0. Pass -1 or nothing for default which is starting with row 0. |
-1 | Optional |
EndRow | The index of the end row. First row is 0. Last Row would be Matrix.Height-1. Pass -1 to use all rows and the plugin will internally use RowCount-1. |
-1 | Optional |
Replace | Set to 1 to replace existing entries. Currently available for MySQL and databases with same syntax. |
0 | Optional |
Returns OK or error.
This function checks for a license.
Created 8th April 2019, last changed 7th April 2022