ldbc.connector.net.packet.request.ComInitDBPacket
See theComInitDBPacket companion object
case class ComInitDBPacket(schema: String) extends RequestPacket
The COM_INIT_DB request is used to change the default database for the connection. The database name is specified as an argument to the request. The server changes the default database to the one specified and sends a OK_Packet to the client. If the database does not exist, the server sends an ERR_Packet to the client.
Value parameters
- schema
-
The name of the database to change to.
Attributes
- Companion
- object
- Source
- ComInitDBPacket.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RequestPackettrait Packetclass Objecttrait Matchableclass Any
Members list
In this article