github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/pkg/enums/wasm_db_datatype.go (about)

     1  package enums
     2  
     3  //go:generate toolkit gen enum WasmDBDatatype
     4  type WasmDBDatatype uint8
     5  
     6  const (
     7  	WASM_DB_DATATYPE_UNKNOWN WasmDBDatatype = iota
     8  	WASM_DB_DATATYPE__INT
     9  	WASM_DB_DATATYPE__INT8
    10  	WASM_DB_DATATYPE__INT16
    11  	WASM_DB_DATATYPE__INT32
    12  	WASM_DB_DATATYPE__INT64
    13  	WASM_DB_DATATYPE__UINT
    14  	WASM_DB_DATATYPE__UINT8
    15  	WASM_DB_DATATYPE__UINT16
    16  	WASM_DB_DATATYPE__UINT32
    17  	WASM_DB_DATATYPE__UINT64
    18  	WASM_DB_DATATYPE__FLOAT32
    19  	WASM_DB_DATATYPE__FLOAT64
    20  	WASM_DB_DATATYPE__TEXT
    21  	WASM_DB_DATATYPE__BOOL
    22  	WASM_DB_DATATYPE__TIMESTAMP // use epoch timestamp (integer, UTC)
    23  	WASM_DB_DATATYPE__DECIMAL
    24  	WASM_DB_DATATYPE__NUMERIC
    25  )