package
1.0.2
Repository: https://github.com/akachain/akc-go-sdk-v2.git
Documentation: pkg.go.dev

# Functions

ChangeInfo overwrites a value in the state database by performing an insert with overwrite indicator.
No description provided by the author
CreateData simply inserts a new key-value pair into the state database.
If old_row_value is not nil, then the table row will be unmarshaled into old_row_value before being deleted.
GetDataById get the state value of a key from the state database It returns a generic object.
GetDataByIdWithResponse returns the peer.Response object directly to the caller so that the caller does not have to format it into Fabric response.
GetDataByRowKeys returns the state value of a key that is constructed with only document prefix and rowKeys.
GetDataByRowKeysWithResponse returns the peer.Response directly to the caller so that the caller does not have to format it into Fabric response.
If row_value is nil, then don't bother unmarshaling the data.
If row_value is nil, then don't bother unmarshaling the data.
NOTE: This is the current abstraction to port old v0.6 style tables to current non-tables style ledger.
Taken from https://stackoverflow.com/questions/13901819/quick-way-to-detect-empty-values-via-reflection-in-go.
Pass through to Sprintf.
UpdateExistingData works similar to ChangeInfo function.
UpdateTableRow is similar to InsertTableRow without re-checking if the row is already exist.

# Constants

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

This is effectively a strongly typed enum declaration.
This is effectively a strongly typed enum declaration.