Pure
ldbc.statement.Command.Pure
Attributes
- Source
- Command.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
- Source
- Command.scala
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
A method to execute an insert operation against the MySQL server.
A method to execute an insert operation against the MySQL server.
TableQuery[User]
.insertInto(user => user.name *: user.age)
.values(("Alice", 20))
.returning[Long]
Type parameters
- T
-
The type of the primary key
Attributes
- Returns
-
The primary key value
- Inherited from:
- Command
- Source
- Command.scala
A method to execute an update operation against the MySQL server.
A method to execute an update operation against the MySQL server.
TableQuery[User]
.update(user => user.id *: user.name *: user.age)((1L, "Alice", 20))
.where(_.id === 1L)
.update
Attributes
- Returns
-
The number of rows updated
- Inherited from:
- Command
- Source
- Command.scala
In this article