Expand description
Prelude exposes all the types for ic-dbms-api crate.
Structs§
- Blob
- Blob data type for the DBMS.
- Boolean
- Boolean data type for the DBMS.
- Column
Def - Defines a column in a database table.
- Date
- Date data type for the DBMS.
- Date
Time - Date time data type for the DBMS.
- Decimal
- Decimal data type for the DBMS.
- Foreign
KeyDef - Defines a foreign key relationship for a column.
- Int32
- Integer 32-bit data type for the DBMS.
- Int64
- Integer 64-bit data type for the DBMS.
- NoForeign
Fetcher - A no-op foreign fetcher that does not perform any fetching.
- Principal
- Principal data type for the DBMS.
- Query
- A struct representing a query in the DBMS.
- Query
Builder - A builder for constructing database
Queryes. - Text
- Text data type for the DBMS.
- Uint32
- Unsigned integer 32-bit data type for the DBMS.
- Uint64
- Unsigned integer 64-bit data type for the DBMS.
- Uuid
- UUID data type for the DBMS.
Enums§
- Data
Size - Represents the size of data types used in the DBMS canister.
- Data
Type Kind - An enumeration of all supported data type kinds in the DBMS.
- Decode
Error - An enum representing possible decoding errors.
- Delete
Behavior - Defines the behavior for delete operations regarding foreign key constraints.
- Filter
super::Queryfilters.- IcDbms
Error - IcDbms Error type
- Memory
Error - An enum representing possible memory-related errors.
- Nullable
- Nullable data type for the DBMS.
- Order
Direction - An enum representing the direction of ordering in a query.
- Query
Error - An enum representing possible errors that can occur during query operations.
- Select
- An enum representing the fields to select in a query.
- Table
Error - Table related errors
- Transaction
Error - An enum representing possible errors that can occur during transaction operations.
- Value
- A generic wrapper enum to hold any DBMS value.
- Values
Source - Indicates the source of the column values.
Traits§
- Data
Type - A trait representing a data type that can be stored in the DBMS.
- Database
- This module defines the Database trait and related database functionalities.
- Encode
- This trait defines the encoding and decoding behaviour for data types used in the DBMS canister.
- Foreign
Fetcher - This trait defines the behavior of a foreign fetcher, which is responsible for fetching data from foreign sources or databases.
- Insert
Record - This trait represents a record for inserting into a table.
- Table
Record - This trait represents a record returned by a
crate::dbms::query::Queryfor a table. - Table
Schema - Table schema representation.
- Update
Record - This trait represents a record for updating a table.
Type Aliases§
- IcDbms
Result - IcDbms Result type
- MSize
- Size type for memory operations.
- Memory
Result - The result type for memory operations.
- Page
- Type identifying a memory page number.
- Page
Offset - Type identifying an offset within a memory page.
- Query
Result - The result type for query operations.
- Table
Columns - Table
Fingerprint - A type representing a unique fingerprint for a table schema.
- Table
Name - Transaction
Id - Type alias for Transaction ID