pub enum Action {
Show 58 variants
Get,
Set,
Del,
Add,
Gen,
Make,
Drop,
Mod,
Over,
With,
Index,
DropIndex,
Alter,
AlterDrop,
AlterType,
TxnStart,
TxnCommit,
TxnRollback,
Put,
DropCol,
RenameCol,
JsonTable,
Export,
Truncate,
Explain,
ExplainAnalyze,
Lock,
CreateMaterializedView,
RefreshMaterializedView,
DropMaterializedView,
Listen,
Notify,
Unlisten,
Savepoint,
ReleaseSavepoint,
RollbackToSavepoint,
CreateView,
DropView,
Search,
Upsert,
Scroll,
CreateCollection,
DeleteCollection,
CreateFunction,
DropFunction,
CreateTrigger,
DropTrigger,
RedisGet,
RedisSet,
RedisDel,
RedisIncr,
RedisDecr,
RedisTtl,
RedisExpire,
RedisExists,
RedisMGet,
RedisMSet,
RedisPing,
}Expand description
The action type (SQL operation).
Variants§
Get
SELECT query
Set
UPDATE query
Del
Add
INSERT query
Gen
Make
Drop
Mod
Over
With
Index
DropIndex
Alter
AlterDrop
ALTER TABLE DROP COLUMN
AlterType
ALTER TABLE ALTER COLUMN TYPE
TxnStart
TxnCommit
TxnRollback
Put
DropCol
RenameCol
JsonTable
JSON_TABLE - convert JSON to relational rows
Export
COPY TO STDOUT - bulk export data (AST-native)
Truncate
TRUNCATE TABLE - fast delete all rows
Explain
EXPLAIN - query plan analysis
ExplainAnalyze
EXPLAIN ANALYZE - execute and analyze query plan
Lock
LOCK TABLE - explicit table locking
CreateMaterializedView
RefreshMaterializedView
DropMaterializedView
Listen
LISTEN channel - subscribe to notifications
Notify
NOTIFY channel, ‘payload’ - send notification
Unlisten
UNLISTEN channel - unsubscribe from notifications
Savepoint
ReleaseSavepoint
RollbackToSavepoint
CreateView
CREATE VIEW name AS SELECT …
DropView
DROP VIEW name
Search
Vector similarity search (Qdrant)
Upsert
Insert or update points (Qdrant)
Scroll
Paginated iteration over points (Qdrant)
CreateCollection
Create new collection (Qdrant)
DeleteCollection
Delete collection (Qdrant)
CreateFunction
CREATE FUNCTION name() RETURNS type AS $$ body $$ LANGUAGE plpgsql
DropFunction
DROP FUNCTION name
CreateTrigger
CREATE TRIGGER name AFTER INSERT OR UPDATE ON table
DropTrigger
DROP TRIGGER name ON table
RedisGet
Redis GET key
RedisSet
Redis SET key value [EX seconds]
RedisDel
Redis DEL key [key …]
RedisIncr
Redis INCR/INCRBY key
RedisDecr
Redis DECR/DECRBY key
RedisTtl
Redis TTL/PTTL key
RedisExpire
Redis EXPIRE/PEXPIRE key seconds
RedisExists
Redis EXISTS key
RedisMGet
Redis MGET keys
RedisMSet
Redis MSET key value [key value …]
RedisPing
Redis PING