package
2.1.0-alpha.1+incompatible
Repository: https://github.com/gitql/vitess.git
Documentation: pkg.go.dev
# Constants
DeleteEqual is for routing a delete statement to a single shard.
DeleteUnsharded is for routing a delete statement to an unsharded keyspace.
InsertUnsharded is for routing an insert statement to a single shard.
InsertUnsharded is for routing an insert statement to an unsharded keyspace.
This is the list of JoinOpcode values.
ListVarName is a reserved bind var name for list vars.
This is the list of RouteOpcode values.
This is the list of JoinOpcode values.
NumCodes is the total number of opcodes for routes.
SelectEqual is for routing a query using a non-unique vindex.
SelectEqualUnique is for routing a query to a single shard.
SelectIN is for routing a query that has an IN clause using a Vindex.
SelectScatter is for routing a scatter query to all shards of a keyspace.
SelectUnsharded is the opcode for routing a select statement to an unsharded database.
SeqVarName is a reserved bind var name for sequence values.
UpdateEqual is for routing an update statement to a single shard: Requires: A Vindex, and a single Value.
UpdateUnsharded is for routing an update statement to an unsharded keyspace.
# Type aliases
JoinOpcode is a number representing the opcode for the Join primitive.
RouteOpcode is a number representing the opcode for the Route primitve.