Package org.labkey.remoteapi.query
Class InsertRowsCommand
java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpPost>
org.labkey.remoteapi.PostCommand<SaveRowsResponse>
org.labkey.remoteapi.query.SaveRowsCommand
org.labkey.remoteapi.query.InsertRowsCommand
- All Implemented Interfaces:
HasRequiredVersion
Command for inserting rows into a table in a read-write schema.
The user associated with the connection used when executing this
command must have permission to insert data into the specified query.
For details on schemas and queries, and example code, see the SaveRowsCommand.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.labkey.remoteapi.query.SaveRowsCommand
SaveRowsCommand.AuditBehaviorNested classes/interfaces inherited from class org.labkey.remoteapi.Command
Command.CommonParameters, Command.Response -
Field Summary
Fields inherited from class org.labkey.remoteapi.Command
CONTENT_TYPE_JSON -
Constructor Summary
ConstructorsConstructorDescriptionInsertRowsCommand(String schemaName, String queryName) Constructs an InsertRowsCommand for the given schemaName and queryName. -
Method Summary
Methods inherited from class org.labkey.remoteapi.query.SaveRowsCommand
addRow, createResponse, getAuditBehavior, getAuditUserComment, getExtraContext, getJsonObject, getQueryName, getRows, getSchemaName, setAuditBehavior, setAuditUserComment, setExtraContext, setQueryName, setRows, setSchemaNameMethods inherited from class org.labkey.remoteapi.PostCommand
createRequestMethods inherited from class org.labkey.remoteapi.Command
_execute, createParameterMap, execute, getActionName, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getRequiredVersion, getTimeout, setRequiredVersion, setTimeout
-
Constructor Details
-
InsertRowsCommand
Constructs an InsertRowsCommand for the given schemaName and queryName. See theSaveRowsCommandfor more details.- Parameters:
schemaName- The schemaNamequeryName- The queryName.- See Also:
-