Update
A model for constructing UPDATE statements in MySQL.
Type parameters
- P
-
Base trait for all products
Value parameters
- params
-
A list of Traits that generate values from Parameter, allowing PreparedStatement to be set to a value by index only.
- statement
-
SQL statement string
- table
-
Trait for generating SQL table information.
Attributes
- Source
- Update.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
- Source
- Update.scala
A method that sets additional values to be updated in the query model that updates specific columns defined in the table.
A method that sets additional values to be updated in the query model that updates specific columns defined in the table.
Type parameters
- T
-
Scala types that match SQL DataType
- Tag
-
Type with a single instance
Value parameters
- check
-
A value to verify that the specified type matches the type of the specified column that the Table has.
- index
-
Position of the specified type in tuple X
- mirror
-
product isomorphism map
- tag
-
A type with a single instance. Here, Column is passed.
- value
-
A value of type T to be inserted into the specified column.
Attributes
- Source
- Update.scala
A method that sets additional values to be updated in the query model that updates specific columns defined in the table.
A method that sets additional values to be updated in the query model that updates specific columns defined in the table.
Type parameters
- T
-
Scala types that match SQL DataType
- Tag
-
Type with a single instance
Value parameters
- check
-
A value to verify that the specified type matches the type of the specified column that the Table has.
- index
-
Position of the specified type in tuple X
- mirror
-
product isomorphism map
- tag
-
A type with a single instance. Here, Column is passed.
- value
-
A value of type T to be inserted into the specified column.
Attributes
- Source
- Update.scala
A method that sets additional values to be updated in the query model that updates specific columns defined in the table.
A method that sets additional values to be updated in the query model that updates specific columns defined in the table.
Type parameters
- T
-
Scala types that match SQL DataType
- Tag
-
Type with a single instance
Value parameters
- bool
-
Conditional value of whether or not to update the value.
- check
-
A value to verify that the specified type matches the type of the specified column that the Table has.
- index
-
Position of the specified type in tuple X
- mirror
-
product isomorphism map
- tag
-
A type with a single instance. Here, Column is passed.
- value
-
A value of type T to be inserted into the specified column.
Attributes
- Source
- Update.scala
A method for setting the WHERE condition in a UPDATE statement.
A method for setting the WHERE condition in a UPDATE statement.
Value parameters
- func
-
Function to construct an expression using the columns that Table has.
Attributes
- Source
- Update.scala