CommandSyntax
ldbc.statement.syntax.CommandSyntax
Attributes
- Source
- CommandSyntax.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article
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]
The type of the primary key
The primary key value
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
The number of rows updated