package
0.0.0-20240926060549-586842176038
Repository: https://github.com/npoolplatform/ledger-middleware.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
AppID applies equality check predicate on the "app_id" field.
AppIDEQ applies the EQ predicate on the "app_id" field.
AppIDGT applies the GT predicate on the "app_id" field.
AppIDGTE applies the GTE predicate on the "app_id" field.
AppIDIn applies the In predicate on the "app_id" field.
AppIDIsNil applies the IsNil predicate on the "app_id" field.
AppIDLT applies the LT predicate on the "app_id" field.
AppIDLTE applies the LTE predicate on the "app_id" field.
AppIDNEQ applies the NEQ predicate on the "app_id" field.
AppIDNotIn applies the NotIn predicate on the "app_id" field.
AppIDNotNil applies the NotNil predicate on the "app_id" field.
CoinTypeID applies equality check predicate on the "coin_type_id" field.
CoinTypeIDEQ applies the EQ predicate on the "coin_type_id" field.
CoinTypeIDGT applies the GT predicate on the "coin_type_id" field.
CoinTypeIDGTE applies the GTE predicate on the "coin_type_id" field.
CoinTypeIDIn applies the In predicate on the "coin_type_id" field.
CoinTypeIDIsNil applies the IsNil predicate on the "coin_type_id" field.
CoinTypeIDLT applies the LT predicate on the "coin_type_id" field.
CoinTypeIDLTE applies the LTE predicate on the "coin_type_id" field.
CoinTypeIDNEQ applies the NEQ predicate on the "coin_type_id" field.
CoinTypeIDNotIn applies the NotIn predicate on the "coin_type_id" field.
CoinTypeIDNotNil applies the NotNil predicate on the "coin_type_id" field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
DeletedAt applies equality check predicate on the "deleted_at" field.
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
DeletedAtGT applies the GT predicate on the "deleted_at" field.
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
DeletedAtIn applies the In predicate on the "deleted_at" field.
DeletedAtLT applies the LT predicate on the "deleted_at" field.
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
EntID applies equality check predicate on the "ent_id" field.
EntIDEQ applies the EQ predicate on the "ent_id" field.
EntIDGT applies the GT predicate on the "ent_id" field.
EntIDGTE applies the GTE predicate on the "ent_id" field.
EntIDIn applies the In predicate on the "ent_id" field.
EntIDLT applies the LT predicate on the "ent_id" field.
EntIDLTE applies the LTE predicate on the "ent_id" field.
EntIDNEQ applies the NEQ predicate on the "ent_id" field.
EntIDNotIn applies the NotIn predicate on the "ent_id" field.
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Incoming applies equality check predicate on the "incoming" field.
IncomingEQ applies the EQ predicate on the "incoming" field.
IncomingGT applies the GT predicate on the "incoming" field.
IncomingGTE applies the GTE predicate on the "incoming" field.
IncomingIn applies the In predicate on the "incoming" field.
IncomingIsNil applies the IsNil predicate on the "incoming" field.
IncomingLT applies the LT predicate on the "incoming" field.
IncomingLTE applies the LTE predicate on the "incoming" field.
IncomingNEQ applies the NEQ predicate on the "incoming" field.
IncomingNotIn applies the NotIn predicate on the "incoming" field.
IncomingNotNil applies the NotNil predicate on the "incoming" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Outcoming applies equality check predicate on the "outcoming" field.
OutcomingEQ applies the EQ predicate on the "outcoming" field.
OutcomingGT applies the GT predicate on the "outcoming" field.
OutcomingGTE applies the GTE predicate on the "outcoming" field.
OutcomingIn applies the In predicate on the "outcoming" field.
OutcomingIsNil applies the IsNil predicate on the "outcoming" field.
OutcomingLT applies the LT predicate on the "outcoming" field.
OutcomingLTE applies the LTE predicate on the "outcoming" field.
OutcomingNEQ applies the NEQ predicate on the "outcoming" field.
OutcomingNotIn applies the NotIn predicate on the "outcoming" field.
OutcomingNotNil applies the NotNil predicate on the "outcoming" field.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
UserID applies equality check predicate on the "user_id" field.
UserIDEQ applies the EQ predicate on the "user_id" field.
UserIDGT applies the GT predicate on the "user_id" field.
UserIDGTE applies the GTE predicate on the "user_id" field.
UserIDIn applies the In predicate on the "user_id" field.
UserIDIsNil applies the IsNil predicate on the "user_id" field.
UserIDLT applies the LT predicate on the "user_id" field.
UserIDLTE applies the LTE predicate on the "user_id" field.
UserIDNEQ applies the NEQ predicate on the "user_id" field.
UserIDNotIn applies the NotIn predicate on the "user_id" field.
UserIDNotNil applies the NotNil predicate on the "user_id" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

FieldAppID holds the string denoting the app_id field in the database.
FieldCoinTypeID holds the string denoting the coin_type_id field in the database.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldDeletedAt holds the string denoting the deleted_at field in the database.
FieldEntID holds the string denoting the ent_id field in the database.
FieldID holds the string denoting the id field in the database.
FieldIncoming holds the string denoting the incoming field in the database.
FieldOutcoming holds the string denoting the outcoming field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldUserID holds the string denoting the user_id field in the database.
Label holds the string label denoting the simulateledger type in the database.
Table holds the table name of the simulateledger in the database.

# Variables

Columns holds all SQL columns for simulateledger fields.
DefaultAppID holds the default value on creation for the "app_id" field.
DefaultCoinTypeID holds the default value on creation for the "coin_type_id" field.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultDeletedAt holds the default value on creation for the "deleted_at" field.
DefaultEntID holds the default value on creation for the "ent_id" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
DefaultUserID holds the default value on creation for the "user_id" field.
Note that the variables below are initialized by the runtime package on the initialization of the application.
Note that the variables below are initialized by the runtime package on the initialization of the application.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.