Insert Command

InsertCommand list of supported commands to insert records in the batch queries

Constructors

Link copied to clipboard
private constructor(sql: String)
Constructor to instantiate an InsertCommand

Entries

Link copied to clipboard

INSERT_INTO command to insert a new record in the table

Link copied to clipboard

INSERT_IGNORE_INTO command to insert a new record in the table, but differently from INSERT_INTO if the primary key already exists will be ignored and that specific row will not be inserted

Link copied to clipboard

REPLACE_INTO command to insert a new record in the table if the primary key not exists, otherwise if that primary key already exists will be replaced with the new data are inserting

Properties

Link copied to clipboard
private val sql: String
sql the sql command value to use in the queries

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.