package
1.0.5
Repository: https://github.com/hyperledger-labs/cckit.git
Documentation: pkg.go.dev

# README

State mappings

Primary key

Primary key based on one or multiple fields

Entity (schema) as primary keyer

Additional indexes (keys)

Unique key

Unique Key with multiple values

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
KeyRefsDiff calculates diff between key reference set.
List defined list container, it must have `Items` attr.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PKeyComplexId sets Id as key field, also adds mapping for pkeySchema with namespace from mapping schema.
No description provided by the author
PKeyId use Id attr as source for mapped state entry key.
PKeySchema registers all fields from pkeySchema as part of primary key.
SchemaNamespace produces string representation of Schema type.
UniqKey defined uniq key in entity.
WithConstPKey set static key for all instances of mapped entry.
No description provided by the author
WithNamespace sets namespace for mapping.
No description provided by the author
No description provided by the author

# Constants

KeyRefNamespace namespace for uniq indexes.
No description provided by the author

# Variables

ErrEntryTypeNotSupported entry type has no appropriate mapper type.
ErrEventMappingNotFound occurs when mapping for event is not defined.
No description provided by the author
No description provided by the author
No description provided by the author
ErrFieldTypeNotSupportedForKeyExtraction key cannot extracted from field.
ErrIndexAlreadyExists occurs when when trying to add index to mapping with existent name.
ErrIndexReferenceNotFound occurs when trying to find entry by index.
No description provided by the author
No description provided by the author
ErrStateMappingNotFound occurs when mapping for state entry is not defined.
KeyRefIDKeyer keyer for KeyRef entity.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author