wasm-dbms-api

Runtime-agnostic API types and traits for the wasm-dbms DBMS engine.
This crate provides all shared types, traits, and abstractions needed to interact with a wasm-dbms instance. It is independent of any specific WASM runtime (IC, WASI, Wasmtime, etc.).
Import all useful types and traits via the prelude:
use *;
Feature Flags
candid: EnablesCandidTypederives on all public types and exposes Candid-specific API boundary types.
Types
DBMS
Database
Query
DeleteBehaviorFilterJoinJoinTypeJsonCmpJsonFilterQueryQueryBuilderQueryErrorQueryResultOrderDirectionSelect
Table
ColumnDefForeignKeyDefInsertRecordTableColumnsTableErrorTableRecordTableSchemaUpdateRecordValuesSource
Foreign Fetcher
Transaction
Data Types
BlobBooleanDateDateTimeDecimalInt8Int16Int32Int64JsonNullableTextUint8Uint16Uint32Uint64UuidCustomValueValue
Sanitizers
SanitizeClampSanitizerClampUnsignedSanitizerCollapseWhitespaceSanitizerLowerCaseSanitizerNullIfEmptySanitizerRoundToScaleSanitizerSlugSanitizerTimezoneSanitizerUtcSanitizerTrimSanitizerUpperCaseSanitizerUrlEncodingSanitizer
Validators
ValidateCamelCaseValidatorCountryIso639ValidatorCountryIso3166ValidatorEmailValidatorKebabCaseValidatorMaxStrlenValidatorMimeTypeValidatorMinStrlenValidatorPhoneNumberValidatorRangeStrlenValidatorRgbColorValidatorSnakeCaseValidatorUrlValidator
Memory
Error
License
This project is licensed under the MIT License. See the LICENSE file for details.