Update
A model for constructing UPDATE statements in MySQL.
Type parameters
- P
-
Base trait for all products
Value parameters
- columns
-
Column name list
- params
-
A list of Traits that generate values from Parameter, allowing PreparedStatement to be set to a value by index only.
- tableQuery
-
Trait for generating SQL table information.
Attributes
- Source
- Update.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
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
SQL statement string
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
Inherited methods
A method for setting the LIMIT condition in a statement.
A method for setting the LIMIT condition in a statement.
Value parameters
- length
-
Upper limit to be updated
Attributes
- Inherited from:
- LimitProvider (hidden)
- Source
- Command.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product