insert
ReQL command: insert
Command syntax
table.insert(object | [object1, object2, ...][, durability="hard", return_changes=False, conflict="error"]) → object
Description
Insert documents into a table. Accepts a single document or an array of documents.
The optional arguments are:
-
durability
: possible values arehard
andsoft
. This option will override the table or query’s durability setting (set in run). In soft durability mode RethinkDB will acknowledge the write immediately after receiving and cachi