Skip to content

Commit

Permalink
List OpType constants with OpType docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamSLevy committed May 26, 2020
1 parent 590cc08 commit 36dea10
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions session.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,40 +506,40 @@ type OpType int

// Operation types
const (
SQLITE_CREATE_INDEX = OpType(C.SQLITE_CREATE_INDEX)
SQLITE_CREATE_TABLE = OpType(C.SQLITE_CREATE_TABLE)
SQLITE_CREATE_TEMP_INDEX = OpType(C.SQLITE_CREATE_TEMP_INDEX)
SQLITE_CREATE_TEMP_TABLE = OpType(C.SQLITE_CREATE_TEMP_TABLE)
SQLITE_CREATE_TEMP_TRIGGER = OpType(C.SQLITE_CREATE_TEMP_TRIGGER)
SQLITE_CREATE_TEMP_VIEW = OpType(C.SQLITE_CREATE_TEMP_VIEW)
SQLITE_CREATE_TRIGGER = OpType(C.SQLITE_CREATE_TRIGGER)
SQLITE_CREATE_VIEW = OpType(C.SQLITE_CREATE_VIEW)
SQLITE_DELETE = OpType(C.SQLITE_DELETE)
SQLITE_DROP_INDEX = OpType(C.SQLITE_DROP_INDEX)
SQLITE_DROP_TABLE = OpType(C.SQLITE_DROP_TABLE)
SQLITE_DROP_TEMP_INDEX = OpType(C.SQLITE_DROP_TEMP_INDEX)
SQLITE_DROP_TEMP_TABLE = OpType(C.SQLITE_DROP_TEMP_TABLE)
SQLITE_DROP_TEMP_TRIGGER = OpType(C.SQLITE_DROP_TEMP_TRIGGER)
SQLITE_DROP_TEMP_VIEW = OpType(C.SQLITE_DROP_TEMP_VIEW)
SQLITE_DROP_TRIGGER = OpType(C.SQLITE_DROP_TRIGGER)
SQLITE_DROP_VIEW = OpType(C.SQLITE_DROP_VIEW)
SQLITE_INSERT = OpType(C.SQLITE_INSERT)
SQLITE_PRAGMA = OpType(C.SQLITE_PRAGMA)
SQLITE_READ = OpType(C.SQLITE_READ)
SQLITE_SELECT = OpType(C.SQLITE_SELECT)
SQLITE_TRANSACTION = OpType(C.SQLITE_TRANSACTION)
SQLITE_UPDATE = OpType(C.SQLITE_UPDATE)
SQLITE_ATTACH = OpType(C.SQLITE_ATTACH)
SQLITE_DETACH = OpType(C.SQLITE_DETACH)
SQLITE_ALTER_TABLE = OpType(C.SQLITE_ALTER_TABLE)
SQLITE_REINDEX = OpType(C.SQLITE_REINDEX)
SQLITE_ANALYZE = OpType(C.SQLITE_ANALYZE)
SQLITE_CREATE_VTABLE = OpType(C.SQLITE_CREATE_VTABLE)
SQLITE_DROP_VTABLE = OpType(C.SQLITE_DROP_VTABLE)
SQLITE_FUNCTION = OpType(C.SQLITE_FUNCTION)
SQLITE_SAVEPOINT = OpType(C.SQLITE_SAVEPOINT)
SQLITE_COPY = OpType(C.SQLITE_COPY)
SQLITE_RECURSIVE = OpType(C.SQLITE_RECURSIVE)
SQLITE_CREATE_INDEX OpType = C.SQLITE_CREATE_INDEX
SQLITE_CREATE_TABLE OpType = C.SQLITE_CREATE_TABLE
SQLITE_CREATE_TEMP_INDEX OpType = C.SQLITE_CREATE_TEMP_INDEX
SQLITE_CREATE_TEMP_TABLE OpType = C.SQLITE_CREATE_TEMP_TABLE
SQLITE_CREATE_TEMP_TRIGGER OpType = C.SQLITE_CREATE_TEMP_TRIGGER
SQLITE_CREATE_TEMP_VIEW OpType = C.SQLITE_CREATE_TEMP_VIEW
SQLITE_CREATE_TRIGGER OpType = C.SQLITE_CREATE_TRIGGER
SQLITE_CREATE_VIEW OpType = C.SQLITE_CREATE_VIEW
SQLITE_DELETE OpType = C.SQLITE_DELETE
SQLITE_DROP_INDEX OpType = C.SQLITE_DROP_INDEX
SQLITE_DROP_TABLE OpType = C.SQLITE_DROP_TABLE
SQLITE_DROP_TEMP_INDEX OpType = C.SQLITE_DROP_TEMP_INDEX
SQLITE_DROP_TEMP_TABLE OpType = C.SQLITE_DROP_TEMP_TABLE
SQLITE_DROP_TEMP_TRIGGER OpType = C.SQLITE_DROP_TEMP_TRIGGER
SQLITE_DROP_TEMP_VIEW OpType = C.SQLITE_DROP_TEMP_VIEW
SQLITE_DROP_TRIGGER OpType = C.SQLITE_DROP_TRIGGER
SQLITE_DROP_VIEW OpType = C.SQLITE_DROP_VIEW
SQLITE_INSERT OpType = C.SQLITE_INSERT
SQLITE_PRAGMA OpType = C.SQLITE_PRAGMA
SQLITE_READ OpType = C.SQLITE_READ
SQLITE_SELECT OpType = C.SQLITE_SELECT
SQLITE_TRANSACTION OpType = C.SQLITE_TRANSACTION
SQLITE_UPDATE OpType = C.SQLITE_UPDATE
SQLITE_ATTACH OpType = C.SQLITE_ATTACH
SQLITE_DETACH OpType = C.SQLITE_DETACH
SQLITE_ALTER_TABLE OpType = C.SQLITE_ALTER_TABLE
SQLITE_REINDEX OpType = C.SQLITE_REINDEX
SQLITE_ANALYZE OpType = C.SQLITE_ANALYZE
SQLITE_CREATE_VTABLE OpType = C.SQLITE_CREATE_VTABLE
SQLITE_DROP_VTABLE OpType = C.SQLITE_DROP_VTABLE
SQLITE_FUNCTION OpType = C.SQLITE_FUNCTION
SQLITE_SAVEPOINT OpType = C.SQLITE_SAVEPOINT
SQLITE_COPY OpType = C.SQLITE_COPY
SQLITE_RECURSIVE OpType = C.SQLITE_RECURSIVE
)

func (opType OpType) String() string {
Expand Down

0 comments on commit 36dea10

Please sign in to comment.