Skip to content

Database Bulk Insert — Reference

Reference · Advanced · Server Connect

Map a collection of source records into database inserts.

Map a collection of source records into database inserts.

  • A working database connection and a disposable test table or records. Validate inputs and enforce access before private reads or writes.

Map a collection of source records into database inserts.

Setting Meaning
NameThe step name used by later server expressions and named action output. For example, a query named products is available to subsequent steps as products.
OutputIncludes the named result in the action response. The result can be used by later server steps when Output is off. Several rules initialize Output on although their declared default is false; inspect the saved action.
ConnectionThe database connection definition to use. It must be available and correctly configured for the active target.
SourceAn array of record objects to insert. It is not the destination table or a page repeat.
Batch SizeThe positive chunk size used by the Node.js bulk-insert loop; default 100. The installed PHP loop does not apply this setting as chunking.
Bulk Insert OptionsSelect the target table and map destination columns to source-record fields. Check missing/null values and data types before processing the full source.

Use two test records with name and price fields. Select the destination products table and map each destination column to the corresponding source field. Run the action, compare the affected result with the source count, and verify both stored rows.

Use a positive Batch Size. Node.js inserts chunks within a transaction; the installed PHP implementation iterates a prepared statement and does not use Batch Size in the same way. A field mapping names the source field to copy; it is not an implicit arbitrary per-record expression. Validate the complete collection before writing.

Use Database Manager to define and inspect the underlying tables. Use Server Connect to control the data returned to the page, and verify the actual response shape before choosing an App Connect binding.

You can configure the intended query/write scope and verify its result shape or database effect.