models

package
v0.0.0-...-d0dd730 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

View Source
const (
	PromoTypeSmall = "small"
	PromoTypeBig   = "big"
)

Enum values for promo_type

View Source
const (
	ImageTypePNG  = "png"
	ImageTypeJPG  = "jpg"
	ImageTypeJpeg = "jpeg"
)

Enum values for image_type

View Source
const (
	StellarAccountTypeFunding = "funding"
	StellarAccountTypeIssuing = "issuing"
	StellarAccountTypeWorker  = "worker"
)

Enum values for stellar_account_type

View Source
const (
	StellarSignerTypeAllowTrust = "allow_trust"
	StellarSignerTypeOther      = "other"
)

Enum values for stellar_signer_type

View Source
const (
	StellarTrustlineStatusOk      = "ok"
	StellarTrustlineStatusWaiting = "waiting"
	StellarTrustlineStatusDenied  = "denied"
	StellarTrustlineStatusRevoked = "revoked"
)

Enum values for stellar_trustline_status

Variables

View Source
var AdminGroupColumns = struct {
	ID        string
	Name      string
	CreatedAt string
	UpdatedAt string
	UpdatedBy string
}{
	ID:        "id",
	Name:      "name",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	UpdatedBy: "updated_by",
}
View Source
var AdminGroupRels = struct {
	GroupAdminUsergroups string
}{
	GroupAdminUsergroups: "GroupAdminUsergroups",
}

AdminGroupRels is where relationship names are stored.

View Source
var AdminKnownCurrencyColumns = struct {
	ID               string
	Name             string
	IssuerPublicKey  string
	AssetCode        string
	ShortDescription string
	LongDescription  string
	OrderIndex       string
	CreatedAt        string
	UpdatedAt        string
	UpdatedBy        string
}{
	ID:               "id",
	Name:             "name",
	IssuerPublicKey:  "issuer_public_key",
	AssetCode:        "asset_code",
	ShortDescription: "short_description",
	LongDescription:  "long_description",
	OrderIndex:       "order_index",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
	UpdatedBy:        "updated_by",
}
View Source
var AdminKnownCurrencyRels = struct {
}{}

AdminKnownCurrencyRels is where relationship names are stored.

View Source
var AdminKnownInflationDestinationColumns = struct {
	ID               string
	Name             string
	IssuerPublicKey  string
	ShortDescription string
	LongDescription  string
	OrderIndex       string
	CreatedAt        string
	UpdatedAt        string
	UpdatedBy        string
}{
	ID:               "id",
	Name:             "name",
	IssuerPublicKey:  "issuer_public_key",
	ShortDescription: "short_description",
	LongDescription:  "long_description",
	OrderIndex:       "order_index",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
	UpdatedBy:        "updated_by",
}
View Source
var AdminKnownInflationDestinationRels = struct {
}{}

AdminKnownInflationDestinationRels is where relationship names are stored.

View Source
var AdminPromoColumns = struct {
	ID         string
	Name       string
	Title      string
	PromoText  string
	PromoType  string
	ImageType  string
	Buttons    string
	Active     string
	OrderIndex string
	CreatedAt  string
	UpdatedAt  string
	UpdatedBy  string
}{
	ID:         "id",
	Name:       "name",
	Title:      "title",
	PromoText:  "promo_text",
	PromoType:  "promo_type",
	ImageType:  "image_type",
	Buttons:    "buttons",
	Active:     "active",
	OrderIndex: "order_index",
	CreatedAt:  "created_at",
	UpdatedAt:  "updated_at",
	UpdatedBy:  "updated_by",
}
View Source
var AdminPromoRels = struct {
}{}

AdminPromoRels is where relationship names are stored.

View Source
var AdminStellarAccountColumns = struct {
	ID          string
	PublicKey   string
	Name        string
	Description string
	Type        string
	CreatedAt   string
	UpdatedAt   string
	UpdatedBy   string
}{
	ID:          "id",
	PublicKey:   "public_key",
	Name:        "name",
	Description: "description",
	Type:        "type",
	CreatedAt:   "created_at",
	UpdatedAt:   "updated_at",
	UpdatedBy:   "updated_by",
}
View Source
var AdminStellarAccountRels = struct {
	IssuerPublicKeyAdminStellarAssets          string
	StellarAccountPublicKeyAdminStellarSigners string
	IssuerPublicKeyAdminUnauthorizedTrustlines string
}{
	IssuerPublicKeyAdminStellarAssets:          "IssuerPublicKeyAdminStellarAssets",
	StellarAccountPublicKeyAdminStellarSigners: "StellarAccountPublicKeyAdminStellarSigners",
	IssuerPublicKeyAdminUnauthorizedTrustlines: "IssuerPublicKeyAdminUnauthorizedTrustlines",
}

AdminStellarAccountRels is where relationship names are stored.

View Source
var AdminStellarAssetColumns = struct {
	ID                string
	IssuerPublicKeyID string
	AssetCode         string
	CreatedAt         string
	UpdatedAt         string
	UpdatedBy         string
}{
	ID:                "id",
	IssuerPublicKeyID: "issuer_public_key_id",
	AssetCode:         "asset_code",
	CreatedAt:         "created_at",
	UpdatedAt:         "updated_at",
	UpdatedBy:         "updated_by",
}
View Source
var AdminStellarAssetRels = struct {
	IssuerPublicKey string
}{
	IssuerPublicKey: "IssuerPublicKey",
}

AdminStellarAssetRels is where relationship names are stored.

View Source
var AdminStellarSignerColumns = struct {
	ID                        string
	StellarAccountPublicKeyID string
	Name                      string
	Description               string
	SignerPublicKey           string
	SignerSecretSeed          string
	Type                      string
	CreatedAt                 string
	UpdatedAt                 string
	UpdatedBy                 string
}{
	ID:                        "id",
	StellarAccountPublicKeyID: "stellar_account_public_key_id",
	Name:                      "name",
	Description:               "description",
	SignerPublicKey:           "signer_public_key",
	SignerSecretSeed:          "signer_secret_seed",
	Type:                      "type",
	CreatedAt:                 "created_at",
	UpdatedAt:                 "updated_at",
	UpdatedBy:                 "updated_by",
}
View Source
var AdminStellarSignerRels = struct {
	StellarAccountPublicKey string
}{
	StellarAccountPublicKey: "StellarAccountPublicKey",
}

AdminStellarSignerRels is where relationship names are stored.

View Source
var AdminUnauthorizedTrustlineColumns = struct {
	ID                string
	IssuerPublicKeyID string
	TrustorPublicKey  string
	AssetCode         string
	Status            string
	Reason            string
	CreatedAt         string
	UpdatedAt         string
	UpdatedBy         string
}{
	ID:                "id",
	IssuerPublicKeyID: "issuer_public_key_id",
	TrustorPublicKey:  "trustor_public_key",
	AssetCode:         "asset_code",
	Status:            "status",
	Reason:            "reason",
	CreatedAt:         "created_at",
	UpdatedAt:         "updated_at",
	UpdatedBy:         "updated_by",
}
View Source
var AdminUnauthorizedTrustlineRels = struct {
	IssuerPublicKey string
}{
	IssuerPublicKey: "IssuerPublicKey",
}

AdminUnauthorizedTrustlineRels is where relationship names are stored.

View Source
var AdminUserColumns = struct {
	ID        string
	Forename  string
	Lastname  string
	Email     string
	Phone     string
	LastLogin string
	Password  string
	Active    string
	CreatedAt string
	UpdatedAt string
	UpdatedBy string
}{
	ID:        "id",
	Forename:  "forename",
	Lastname:  "lastname",
	Email:     "email",
	Phone:     "phone",
	LastLogin: "last_login",
	Password:  "password",
	Active:    "active",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	UpdatedBy: "updated_by",
}
View Source
var AdminUserRels = struct {
	UserAdminUsergroups string
}{
	UserAdminUsergroups: "UserAdminUsergroups",
}

AdminUserRels is where relationship names are stored.

View Source
var AdminUsergroupColumns = struct {
	ID        string
	UserID    string
	GroupID   string
	CreatedAt string
	UpdatedAt string
	UpdatedBy string
}{
	ID:        "id",
	UserID:    "user_id",
	GroupID:   "group_id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	UpdatedBy: "updated_by",
}
View Source
var AdminUsergroupRels = struct {
	User  string
	Group string
}{
	User:  "User",
	Group: "Group",
}

AdminUsergroupRels is where relationship names are stored.

View Source
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")

ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.

View Source
var TableNames = struct {
	AdminGroup                      string
	AdminKnownCurrencies            string
	AdminKnownInflationDestinations string
	AdminPromo                      string
	AdminStellarAccount             string
	AdminStellarAsset               string
	AdminStellarSigner              string
	AdminUnauthorizedTrustline      string
	AdminUser                       string
	AdminUsergroup                  string
}{
	AdminGroup:                      "admin_group",
	AdminKnownCurrencies:            "admin_known_currencies",
	AdminKnownInflationDestinations: "admin_known_inflation_destinations",
	AdminPromo:                      "admin_promo",
	AdminStellarAccount:             "admin_stellar_account",
	AdminStellarAsset:               "admin_stellar_asset",
	AdminStellarSigner:              "admin_stellar_signer",
	AdminUnauthorizedTrustline:      "admin_unauthorized_trustline",
	AdminUser:                       "admin_user",
	AdminUsergroup:                  "admin_usergroup",
}

Functions

func AddAdminGroupHook

func AddAdminGroupHook(hookPoint boil.HookPoint, adminGroupHook AdminGroupHook)

AddAdminGroupHook registers your hook function for all future operations.

func AddAdminKnownCurrencyHook

func AddAdminKnownCurrencyHook(hookPoint boil.HookPoint, adminKnownCurrencyHook AdminKnownCurrencyHook)

AddAdminKnownCurrencyHook registers your hook function for all future operations.

func AddAdminKnownInflationDestinationHook

func AddAdminKnownInflationDestinationHook(hookPoint boil.HookPoint, adminKnownInflationDestinationHook AdminKnownInflationDestinationHook)

AddAdminKnownInflationDestinationHook registers your hook function for all future operations.

func AddAdminPromoHook

func AddAdminPromoHook(hookPoint boil.HookPoint, adminPromoHook AdminPromoHook)

AddAdminPromoHook registers your hook function for all future operations.

func AddAdminStellarAccountHook

func AddAdminStellarAccountHook(hookPoint boil.HookPoint, adminStellarAccountHook AdminStellarAccountHook)

AddAdminStellarAccountHook registers your hook function for all future operations.

func AddAdminStellarAssetHook

func AddAdminStellarAssetHook(hookPoint boil.HookPoint, adminStellarAssetHook AdminStellarAssetHook)

AddAdminStellarAssetHook registers your hook function for all future operations.

func AddAdminStellarSignerHook

func AddAdminStellarSignerHook(hookPoint boil.HookPoint, adminStellarSignerHook AdminStellarSignerHook)

AddAdminStellarSignerHook registers your hook function for all future operations.

func AddAdminUnauthorizedTrustlineHook

func AddAdminUnauthorizedTrustlineHook(hookPoint boil.HookPoint, adminUnauthorizedTrustlineHook AdminUnauthorizedTrustlineHook)

AddAdminUnauthorizedTrustlineHook registers your hook function for all future operations.

func AddAdminUserHook

func AddAdminUserHook(hookPoint boil.HookPoint, adminUserHook AdminUserHook)

AddAdminUserHook registers your hook function for all future operations.

func AddAdminUsergroupHook

func AddAdminUsergroupHook(hookPoint boil.HookPoint, adminUsergroupHook AdminUsergroupHook)

AddAdminUsergroupHook registers your hook function for all future operations.

func AdminGroupExists

func AdminGroupExists(exec boil.Executor, iD int) (bool, error)

AdminGroupExists checks if the AdminGroup row exists.

func AdminGroupExistsG

func AdminGroupExistsG(iD int) (bool, error)

AdminGroupExistsG checks if the AdminGroup row exists.

func AdminGroups

func AdminGroups(mods ...qm.QueryMod) adminGroupQuery

AdminGroups retrieves all the records using an executor.

func AdminKnownCurrencies

func AdminKnownCurrencies(mods ...qm.QueryMod) adminKnownCurrencyQuery

AdminKnownCurrencies retrieves all the records using an executor.

func AdminKnownCurrencyExists

func AdminKnownCurrencyExists(exec boil.Executor, iD int) (bool, error)

AdminKnownCurrencyExists checks if the AdminKnownCurrency row exists.

func AdminKnownCurrencyExistsG

func AdminKnownCurrencyExistsG(iD int) (bool, error)

AdminKnownCurrencyExistsG checks if the AdminKnownCurrency row exists.

func AdminKnownInflationDestinationExists

func AdminKnownInflationDestinationExists(exec boil.Executor, iD int) (bool, error)

AdminKnownInflationDestinationExists checks if the AdminKnownInflationDestination row exists.

func AdminKnownInflationDestinationExistsG

func AdminKnownInflationDestinationExistsG(iD int) (bool, error)

AdminKnownInflationDestinationExistsG checks if the AdminKnownInflationDestination row exists.

func AdminKnownInflationDestinations

func AdminKnownInflationDestinations(mods ...qm.QueryMod) adminKnownInflationDestinationQuery

AdminKnownInflationDestinations retrieves all the records using an executor.

func AdminPromoExists

func AdminPromoExists(exec boil.Executor, iD int) (bool, error)

AdminPromoExists checks if the AdminPromo row exists.

func AdminPromoExistsG

func AdminPromoExistsG(iD int) (bool, error)

AdminPromoExistsG checks if the AdminPromo row exists.

func AdminPromos

func AdminPromos(mods ...qm.QueryMod) adminPromoQuery

AdminPromos retrieves all the records using an executor.

func AdminStellarAccountExists

func AdminStellarAccountExists(exec boil.Executor, iD int) (bool, error)

AdminStellarAccountExists checks if the AdminStellarAccount row exists.

func AdminStellarAccountExistsG

func AdminStellarAccountExistsG(iD int) (bool, error)

AdminStellarAccountExistsG checks if the AdminStellarAccount row exists.

func AdminStellarAccounts

func AdminStellarAccounts(mods ...qm.QueryMod) adminStellarAccountQuery

AdminStellarAccounts retrieves all the records using an executor.

func AdminStellarAssetExists

func AdminStellarAssetExists(exec boil.Executor, iD int) (bool, error)

AdminStellarAssetExists checks if the AdminStellarAsset row exists.

func AdminStellarAssetExistsG

func AdminStellarAssetExistsG(iD int) (bool, error)

AdminStellarAssetExistsG checks if the AdminStellarAsset row exists.

func AdminStellarAssets

func AdminStellarAssets(mods ...qm.QueryMod) adminStellarAssetQuery

AdminStellarAssets retrieves all the records using an executor.

func AdminStellarSignerExists

func AdminStellarSignerExists(exec boil.Executor, iD int) (bool, error)

AdminStellarSignerExists checks if the AdminStellarSigner row exists.

func AdminStellarSignerExistsG

func AdminStellarSignerExistsG(iD int) (bool, error)

AdminStellarSignerExistsG checks if the AdminStellarSigner row exists.

func AdminStellarSigners

func AdminStellarSigners(mods ...qm.QueryMod) adminStellarSignerQuery

AdminStellarSigners retrieves all the records using an executor.

func AdminUnauthorizedTrustlineExists

func AdminUnauthorizedTrustlineExists(exec boil.Executor, iD int) (bool, error)

AdminUnauthorizedTrustlineExists checks if the AdminUnauthorizedTrustline row exists.

func AdminUnauthorizedTrustlineExistsG

func AdminUnauthorizedTrustlineExistsG(iD int) (bool, error)

AdminUnauthorizedTrustlineExistsG checks if the AdminUnauthorizedTrustline row exists.

func AdminUnauthorizedTrustlines

func AdminUnauthorizedTrustlines(mods ...qm.QueryMod) adminUnauthorizedTrustlineQuery

AdminUnauthorizedTrustlines retrieves all the records using an executor.

func AdminUserExists

func AdminUserExists(exec boil.Executor, iD int) (bool, error)

AdminUserExists checks if the AdminUser row exists.

func AdminUserExistsG

func AdminUserExistsG(iD int) (bool, error)

AdminUserExistsG checks if the AdminUser row exists.

func AdminUsergroupExists

func AdminUsergroupExists(exec boil.Executor, iD int) (bool, error)

AdminUsergroupExists checks if the AdminUsergroup row exists.

func AdminUsergroupExistsG

func AdminUsergroupExistsG(iD int) (bool, error)

AdminUsergroupExistsG checks if the AdminUsergroup row exists.

func AdminUsergroups

func AdminUsergroups(mods ...qm.QueryMod) adminUsergroupQuery

AdminUsergroups retrieves all the records using an executor.

func AdminUsers

func AdminUsers(mods ...qm.QueryMod) adminUserQuery

AdminUsers retrieves all the records using an executor.

func NewQuery

func NewQuery(mods ...qm.QueryMod) *queries.Query

NewQuery initializes a new Query using the passed in QueryMods

Types

type AdminGroup

type AdminGroup struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *adminGroupR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L adminGroupL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdminGroup is an object representing the database table.

func FindAdminGroup

func FindAdminGroup(exec boil.Executor, iD int, selectCols ...string) (*AdminGroup, error)

FindAdminGroup retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAdminGroupG

func FindAdminGroupG(iD int, selectCols ...string) (*AdminGroup, error)

FindAdminGroupG retrieves a single record by ID.

func (*AdminGroup) AddGroupAdminUsergroups

func (o *AdminGroup) AddGroupAdminUsergroups(exec boil.Executor, insert bool, related ...*AdminUsergroup) error

AddGroupAdminUsergroups adds the given related objects to the existing relationships of the admin_group, optionally inserting them as new records. Appends related to o.R.GroupAdminUsergroups. Sets related.R.Group appropriately.

func (*AdminGroup) AddGroupAdminUsergroupsG

func (o *AdminGroup) AddGroupAdminUsergroupsG(insert bool, related ...*AdminUsergroup) error

AddGroupAdminUsergroupsG adds the given related objects to the existing relationships of the admin_group, optionally inserting them as new records. Appends related to o.R.GroupAdminUsergroups. Sets related.R.Group appropriately. Uses the global database handle.

func (*AdminGroup) Delete

func (o *AdminGroup) Delete(exec boil.Executor) (int64, error)

Delete deletes a single AdminGroup record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdminGroup) DeleteG

func (o *AdminGroup) DeleteG() (int64, error)

DeleteG deletes a single AdminGroup record. DeleteG will match against the primary key column to find the record to delete.

func (*AdminGroup) GroupAdminUsergroups

func (o *AdminGroup) GroupAdminUsergroups(mods ...qm.QueryMod) adminUsergroupQuery

GroupAdminUsergroups retrieves all the admin_usergroup's AdminUsergroups with an executor via group_id column.

func (*AdminGroup) Insert

func (o *AdminGroup) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdminGroup) InsertG

func (o *AdminGroup) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*AdminGroup) Reload

func (o *AdminGroup) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AdminGroup) ReloadG

func (o *AdminGroup) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*AdminGroup) Update

func (o *AdminGroup) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdminGroup. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdminGroup) UpdateG

func (o *AdminGroup) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single AdminGroup record using the global executor. See Update for more documentation.

func (*AdminGroup) Upsert

func (o *AdminGroup) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AdminGroup) UpsertG

func (o *AdminGroup) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AdminGroupHook

type AdminGroupHook func(boil.Executor, *AdminGroup) error

AdminGroupHook is the signature for custom AdminGroup hook methods

type AdminGroupSlice

type AdminGroupSlice []*AdminGroup

AdminGroupSlice is an alias for a slice of pointers to AdminGroup. This should generally be used opposed to []AdminGroup.

func (AdminGroupSlice) DeleteAll

func (o AdminGroupSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AdminGroupSlice) DeleteAllG

func (o AdminGroupSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AdminGroupSlice) ReloadAll

func (o *AdminGroupSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AdminGroupSlice) ReloadAllG

func (o *AdminGroupSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdminGroupSlice) UpdateAll

func (o AdminGroupSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AdminGroupSlice) UpdateAllG

func (o AdminGroupSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type AdminKnownCurrency

type AdminKnownCurrency struct {
	ID               int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name             string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	IssuerPublicKey  string    `boil:"issuer_public_key" json:"issuer_public_key" toml:"issuer_public_key" yaml:"issuer_public_key"`
	AssetCode        string    `boil:"asset_code" json:"asset_code" toml:"asset_code" yaml:"asset_code"`
	ShortDescription string    `boil:"short_description" json:"short_description" toml:"short_description" yaml:"short_description"`
	LongDescription  string    `boil:"long_description" json:"long_description" toml:"long_description" yaml:"long_description"`
	OrderIndex       int       `boil:"order_index" json:"order_index" toml:"order_index" yaml:"order_index"`
	CreatedAt        time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt        time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy        string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *adminKnownCurrencyR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L adminKnownCurrencyL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdminKnownCurrency is an object representing the database table.

func FindAdminKnownCurrency

func FindAdminKnownCurrency(exec boil.Executor, iD int, selectCols ...string) (*AdminKnownCurrency, error)

FindAdminKnownCurrency retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAdminKnownCurrencyG

func FindAdminKnownCurrencyG(iD int, selectCols ...string) (*AdminKnownCurrency, error)

FindAdminKnownCurrencyG retrieves a single record by ID.

func (*AdminKnownCurrency) Delete

func (o *AdminKnownCurrency) Delete(exec boil.Executor) (int64, error)

Delete deletes a single AdminKnownCurrency record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdminKnownCurrency) DeleteG

func (o *AdminKnownCurrency) DeleteG() (int64, error)

DeleteG deletes a single AdminKnownCurrency record. DeleteG will match against the primary key column to find the record to delete.

func (*AdminKnownCurrency) Insert

func (o *AdminKnownCurrency) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdminKnownCurrency) InsertG

func (o *AdminKnownCurrency) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*AdminKnownCurrency) Reload

func (o *AdminKnownCurrency) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AdminKnownCurrency) ReloadG

func (o *AdminKnownCurrency) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*AdminKnownCurrency) Update

func (o *AdminKnownCurrency) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdminKnownCurrency. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdminKnownCurrency) UpdateG

func (o *AdminKnownCurrency) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single AdminKnownCurrency record using the global executor. See Update for more documentation.

func (*AdminKnownCurrency) Upsert

func (o *AdminKnownCurrency) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AdminKnownCurrency) UpsertG

func (o *AdminKnownCurrency) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AdminKnownCurrencyHook

type AdminKnownCurrencyHook func(boil.Executor, *AdminKnownCurrency) error

AdminKnownCurrencyHook is the signature for custom AdminKnownCurrency hook methods

type AdminKnownCurrencySlice

type AdminKnownCurrencySlice []*AdminKnownCurrency

AdminKnownCurrencySlice is an alias for a slice of pointers to AdminKnownCurrency. This should generally be used opposed to []AdminKnownCurrency.

func (AdminKnownCurrencySlice) DeleteAll

func (o AdminKnownCurrencySlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AdminKnownCurrencySlice) DeleteAllG

func (o AdminKnownCurrencySlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AdminKnownCurrencySlice) ReloadAll

func (o *AdminKnownCurrencySlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AdminKnownCurrencySlice) ReloadAllG

func (o *AdminKnownCurrencySlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdminKnownCurrencySlice) UpdateAll

func (o AdminKnownCurrencySlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AdminKnownCurrencySlice) UpdateAllG

func (o AdminKnownCurrencySlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type AdminKnownInflationDestination

type AdminKnownInflationDestination struct {
	ID               int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name             string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	IssuerPublicKey  string    `boil:"issuer_public_key" json:"issuer_public_key" toml:"issuer_public_key" yaml:"issuer_public_key"`
	ShortDescription string    `boil:"short_description" json:"short_description" toml:"short_description" yaml:"short_description"`
	LongDescription  string    `boil:"long_description" json:"long_description" toml:"long_description" yaml:"long_description"`
	OrderIndex       int       `boil:"order_index" json:"order_index" toml:"order_index" yaml:"order_index"`
	CreatedAt        time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt        time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy        string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *adminKnownInflationDestinationR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L adminKnownInflationDestinationL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdminKnownInflationDestination is an object representing the database table.

func FindAdminKnownInflationDestination

func FindAdminKnownInflationDestination(exec boil.Executor, iD int, selectCols ...string) (*AdminKnownInflationDestination, error)

FindAdminKnownInflationDestination retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAdminKnownInflationDestinationG

func FindAdminKnownInflationDestinationG(iD int, selectCols ...string) (*AdminKnownInflationDestination, error)

FindAdminKnownInflationDestinationG retrieves a single record by ID.

func (*AdminKnownInflationDestination) Delete

Delete deletes a single AdminKnownInflationDestination record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdminKnownInflationDestination) DeleteG

func (o *AdminKnownInflationDestination) DeleteG() (int64, error)

DeleteG deletes a single AdminKnownInflationDestination record. DeleteG will match against the primary key column to find the record to delete.

func (*AdminKnownInflationDestination) Insert

func (o *AdminKnownInflationDestination) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdminKnownInflationDestination) InsertG

func (o *AdminKnownInflationDestination) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*AdminKnownInflationDestination) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*AdminKnownInflationDestination) ReloadG

ReloadG refetches the object from the database using the primary keys.

func (*AdminKnownInflationDestination) Update

func (o *AdminKnownInflationDestination) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdminKnownInflationDestination. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdminKnownInflationDestination) UpdateG

func (o *AdminKnownInflationDestination) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single AdminKnownInflationDestination record using the global executor. See Update for more documentation.

func (*AdminKnownInflationDestination) Upsert

func (o *AdminKnownInflationDestination) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AdminKnownInflationDestination) UpsertG

func (o *AdminKnownInflationDestination) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AdminKnownInflationDestinationHook

type AdminKnownInflationDestinationHook func(boil.Executor, *AdminKnownInflationDestination) error

AdminKnownInflationDestinationHook is the signature for custom AdminKnownInflationDestination hook methods

type AdminKnownInflationDestinationSlice

type AdminKnownInflationDestinationSlice []*AdminKnownInflationDestination

AdminKnownInflationDestinationSlice is an alias for a slice of pointers to AdminKnownInflationDestination. This should generally be used opposed to []AdminKnownInflationDestination.

func (AdminKnownInflationDestinationSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (AdminKnownInflationDestinationSlice) DeleteAllG

DeleteAllG deletes all rows in the slice.

func (*AdminKnownInflationDestinationSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AdminKnownInflationDestinationSlice) ReloadAllG

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdminKnownInflationDestinationSlice) UpdateAll

func (o AdminKnownInflationDestinationSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AdminKnownInflationDestinationSlice) UpdateAllG

func (o AdminKnownInflationDestinationSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type AdminPromo

type AdminPromo struct {
	ID         int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name       string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Title      string    `boil:"title" json:"title" toml:"title" yaml:"title"`
	PromoText  string    `boil:"promo_text" json:"promo_text" toml:"promo_text" yaml:"promo_text"`
	PromoType  string    `boil:"promo_type" json:"promo_type" toml:"promo_type" yaml:"promo_type"`
	ImageType  string    `boil:"image_type" json:"image_type" toml:"image_type" yaml:"image_type"`
	Buttons    string    `boil:"buttons" json:"buttons" toml:"buttons" yaml:"buttons"`
	Active     bool      `boil:"active" json:"active" toml:"active" yaml:"active"`
	OrderIndex int       `boil:"order_index" json:"order_index" toml:"order_index" yaml:"order_index"`
	CreatedAt  time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt  time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy  string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *adminPromoR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L adminPromoL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdminPromo is an object representing the database table.

func FindAdminPromo

func FindAdminPromo(exec boil.Executor, iD int, selectCols ...string) (*AdminPromo, error)

FindAdminPromo retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAdminPromoG

func FindAdminPromoG(iD int, selectCols ...string) (*AdminPromo, error)

FindAdminPromoG retrieves a single record by ID.

func (*AdminPromo) Delete

func (o *AdminPromo) Delete(exec boil.Executor) (int64, error)

Delete deletes a single AdminPromo record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdminPromo) DeleteG

func (o *AdminPromo) DeleteG() (int64, error)

DeleteG deletes a single AdminPromo record. DeleteG will match against the primary key column to find the record to delete.

func (*AdminPromo) Insert

func (o *AdminPromo) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdminPromo) InsertG

func (o *AdminPromo) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*AdminPromo) Reload

func (o *AdminPromo) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AdminPromo) ReloadG

func (o *AdminPromo) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*AdminPromo) Update

func (o *AdminPromo) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdminPromo. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdminPromo) UpdateG

func (o *AdminPromo) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single AdminPromo record using the global executor. See Update for more documentation.

func (*AdminPromo) Upsert

func (o *AdminPromo) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AdminPromo) UpsertG

func (o *AdminPromo) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AdminPromoHook

type AdminPromoHook func(boil.Executor, *AdminPromo) error

AdminPromoHook is the signature for custom AdminPromo hook methods

type AdminPromoSlice

type AdminPromoSlice []*AdminPromo

AdminPromoSlice is an alias for a slice of pointers to AdminPromo. This should generally be used opposed to []AdminPromo.

func (AdminPromoSlice) DeleteAll

func (o AdminPromoSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AdminPromoSlice) DeleteAllG

func (o AdminPromoSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AdminPromoSlice) ReloadAll

func (o *AdminPromoSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AdminPromoSlice) ReloadAllG

func (o *AdminPromoSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdminPromoSlice) UpdateAll

func (o AdminPromoSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AdminPromoSlice) UpdateAllG

func (o AdminPromoSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type AdminStellarAccount

type AdminStellarAccount struct {
	ID          int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	PublicKey   string    `boil:"public_key" json:"public_key" toml:"public_key" yaml:"public_key"`
	Name        string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Description string    `boil:"description" json:"description" toml:"description" yaml:"description"`
	Type        string    `boil:"type" json:"type" toml:"type" yaml:"type"`
	CreatedAt   time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt   time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy   string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *adminStellarAccountR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L adminStellarAccountL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdminStellarAccount is an object representing the database table.

func FindAdminStellarAccount

func FindAdminStellarAccount(exec boil.Executor, iD int, selectCols ...string) (*AdminStellarAccount, error)

FindAdminStellarAccount retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAdminStellarAccountG

func FindAdminStellarAccountG(iD int, selectCols ...string) (*AdminStellarAccount, error)

FindAdminStellarAccountG retrieves a single record by ID.

func (*AdminStellarAccount) AddIssuerPublicKeyAdminStellarAssets

func (o *AdminStellarAccount) AddIssuerPublicKeyAdminStellarAssets(exec boil.Executor, insert bool, related ...*AdminStellarAsset) error

AddIssuerPublicKeyAdminStellarAssets adds the given related objects to the existing relationships of the admin_stellar_account, optionally inserting them as new records. Appends related to o.R.IssuerPublicKeyAdminStellarAssets. Sets related.R.IssuerPublicKey appropriately.

func (*AdminStellarAccount) AddIssuerPublicKeyAdminStellarAssetsG

func (o *AdminStellarAccount) AddIssuerPublicKeyAdminStellarAssetsG(insert bool, related ...*AdminStellarAsset) error

AddIssuerPublicKeyAdminStellarAssetsG adds the given related objects to the existing relationships of the admin_stellar_account, optionally inserting them as new records. Appends related to o.R.IssuerPublicKeyAdminStellarAssets. Sets related.R.IssuerPublicKey appropriately. Uses the global database handle.

func (*AdminStellarAccount) AddIssuerPublicKeyAdminUnauthorizedTrustlines

func (o *AdminStellarAccount) AddIssuerPublicKeyAdminUnauthorizedTrustlines(exec boil.Executor, insert bool, related ...*AdminUnauthorizedTrustline) error

AddIssuerPublicKeyAdminUnauthorizedTrustlines adds the given related objects to the existing relationships of the admin_stellar_account, optionally inserting them as new records. Appends related to o.R.IssuerPublicKeyAdminUnauthorizedTrustlines. Sets related.R.IssuerPublicKey appropriately.

func (*AdminStellarAccount) AddIssuerPublicKeyAdminUnauthorizedTrustlinesG

func (o *AdminStellarAccount) AddIssuerPublicKeyAdminUnauthorizedTrustlinesG(insert bool, related ...*AdminUnauthorizedTrustline) error

AddIssuerPublicKeyAdminUnauthorizedTrustlinesG adds the given related objects to the existing relationships of the admin_stellar_account, optionally inserting them as new records. Appends related to o.R.IssuerPublicKeyAdminUnauthorizedTrustlines. Sets related.R.IssuerPublicKey appropriately. Uses the global database handle.

func (*AdminStellarAccount) AddStellarAccountPublicKeyAdminStellarSigners

func (o *AdminStellarAccount) AddStellarAccountPublicKeyAdminStellarSigners(exec boil.Executor, insert bool, related ...*AdminStellarSigner) error

AddStellarAccountPublicKeyAdminStellarSigners adds the given related objects to the existing relationships of the admin_stellar_account, optionally inserting them as new records. Appends related to o.R.StellarAccountPublicKeyAdminStellarSigners. Sets related.R.StellarAccountPublicKey appropriately.

func (*AdminStellarAccount) AddStellarAccountPublicKeyAdminStellarSignersG

func (o *AdminStellarAccount) AddStellarAccountPublicKeyAdminStellarSignersG(insert bool, related ...*AdminStellarSigner) error

AddStellarAccountPublicKeyAdminStellarSignersG adds the given related objects to the existing relationships of the admin_stellar_account, optionally inserting them as new records. Appends related to o.R.StellarAccountPublicKeyAdminStellarSigners. Sets related.R.StellarAccountPublicKey appropriately. Uses the global database handle.

func (*AdminStellarAccount) Delete

func (o *AdminStellarAccount) Delete(exec boil.Executor) (int64, error)

Delete deletes a single AdminStellarAccount record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdminStellarAccount) DeleteG

func (o *AdminStellarAccount) DeleteG() (int64, error)

DeleteG deletes a single AdminStellarAccount record. DeleteG will match against the primary key column to find the record to delete.

func (*AdminStellarAccount) Insert

func (o *AdminStellarAccount) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdminStellarAccount) InsertG

func (o *AdminStellarAccount) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*AdminStellarAccount) IssuerPublicKeyAdminStellarAssets

func (o *AdminStellarAccount) IssuerPublicKeyAdminStellarAssets(mods ...qm.QueryMod) adminStellarAssetQuery

IssuerPublicKeyAdminStellarAssets retrieves all the admin_stellar_asset's AdminStellarAssets with an executor via issuer_public_key_id column.

func (*AdminStellarAccount) IssuerPublicKeyAdminUnauthorizedTrustlines

func (o *AdminStellarAccount) IssuerPublicKeyAdminUnauthorizedTrustlines(mods ...qm.QueryMod) adminUnauthorizedTrustlineQuery

IssuerPublicKeyAdminUnauthorizedTrustlines retrieves all the admin_unauthorized_trustline's AdminUnauthorizedTrustlines with an executor via issuer_public_key_id column.

func (*AdminStellarAccount) Reload

func (o *AdminStellarAccount) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AdminStellarAccount) ReloadG

func (o *AdminStellarAccount) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*AdminStellarAccount) StellarAccountPublicKeyAdminStellarSigners

func (o *AdminStellarAccount) StellarAccountPublicKeyAdminStellarSigners(mods ...qm.QueryMod) adminStellarSignerQuery

StellarAccountPublicKeyAdminStellarSigners retrieves all the admin_stellar_signer's AdminStellarSigners with an executor via stellar_account_public_key_id column.

func (*AdminStellarAccount) Update

func (o *AdminStellarAccount) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdminStellarAccount. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdminStellarAccount) UpdateG

func (o *AdminStellarAccount) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single AdminStellarAccount record using the global executor. See Update for more documentation.

func (*AdminStellarAccount) Upsert

func (o *AdminStellarAccount) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AdminStellarAccount) UpsertG

func (o *AdminStellarAccount) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AdminStellarAccountHook

type AdminStellarAccountHook func(boil.Executor, *AdminStellarAccount) error

AdminStellarAccountHook is the signature for custom AdminStellarAccount hook methods

type AdminStellarAccountSlice

type AdminStellarAccountSlice []*AdminStellarAccount

AdminStellarAccountSlice is an alias for a slice of pointers to AdminStellarAccount. This should generally be used opposed to []AdminStellarAccount.

func (AdminStellarAccountSlice) DeleteAll

func (o AdminStellarAccountSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AdminStellarAccountSlice) DeleteAllG

func (o AdminStellarAccountSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AdminStellarAccountSlice) ReloadAll

func (o *AdminStellarAccountSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AdminStellarAccountSlice) ReloadAllG

func (o *AdminStellarAccountSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdminStellarAccountSlice) UpdateAll

func (o AdminStellarAccountSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AdminStellarAccountSlice) UpdateAllG

func (o AdminStellarAccountSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type AdminStellarAsset

type AdminStellarAsset struct {
	ID                int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	IssuerPublicKeyID string    `boil:"issuer_public_key_id" json:"issuer_public_key_id" toml:"issuer_public_key_id" yaml:"issuer_public_key_id"`
	AssetCode         string    `boil:"asset_code" json:"asset_code" toml:"asset_code" yaml:"asset_code"`
	CreatedAt         time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt         time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy         string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *adminStellarAssetR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L adminStellarAssetL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdminStellarAsset is an object representing the database table.

func FindAdminStellarAsset

func FindAdminStellarAsset(exec boil.Executor, iD int, selectCols ...string) (*AdminStellarAsset, error)

FindAdminStellarAsset retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAdminStellarAssetG

func FindAdminStellarAssetG(iD int, selectCols ...string) (*AdminStellarAsset, error)

FindAdminStellarAssetG retrieves a single record by ID.

func (*AdminStellarAsset) Delete

func (o *AdminStellarAsset) Delete(exec boil.Executor) (int64, error)

Delete deletes a single AdminStellarAsset record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdminStellarAsset) DeleteG

func (o *AdminStellarAsset) DeleteG() (int64, error)

DeleteG deletes a single AdminStellarAsset record. DeleteG will match against the primary key column to find the record to delete.

func (*AdminStellarAsset) Insert

func (o *AdminStellarAsset) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdminStellarAsset) InsertG

func (o *AdminStellarAsset) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*AdminStellarAsset) IssuerPublicKey

func (o *AdminStellarAsset) IssuerPublicKey(mods ...qm.QueryMod) adminStellarAccountQuery

IssuerPublicKey pointed to by the foreign key.

func (*AdminStellarAsset) Reload

func (o *AdminStellarAsset) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AdminStellarAsset) ReloadG

func (o *AdminStellarAsset) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*AdminStellarAsset) SetIssuerPublicKey

func (o *AdminStellarAsset) SetIssuerPublicKey(exec boil.Executor, insert bool, related *AdminStellarAccount) error

SetIssuerPublicKey of the adminStellarAsset to the related item. Sets o.R.IssuerPublicKey to related. Adds o to related.R.IssuerPublicKeyAdminStellarAssets.

func (*AdminStellarAsset) SetIssuerPublicKeyG

func (o *AdminStellarAsset) SetIssuerPublicKeyG(insert bool, related *AdminStellarAccount) error

SetIssuerPublicKeyG of the adminStellarAsset to the related item. Sets o.R.IssuerPublicKey to related. Adds o to related.R.IssuerPublicKeyAdminStellarAssets. Uses the global database handle.

func (*AdminStellarAsset) Update

func (o *AdminStellarAsset) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdminStellarAsset. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdminStellarAsset) UpdateG

func (o *AdminStellarAsset) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single AdminStellarAsset record using the global executor. See Update for more documentation.

func (*AdminStellarAsset) Upsert

func (o *AdminStellarAsset) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AdminStellarAsset) UpsertG

func (o *AdminStellarAsset) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AdminStellarAssetHook

type AdminStellarAssetHook func(boil.Executor, *AdminStellarAsset) error

AdminStellarAssetHook is the signature for custom AdminStellarAsset hook methods

type AdminStellarAssetSlice

type AdminStellarAssetSlice []*AdminStellarAsset

AdminStellarAssetSlice is an alias for a slice of pointers to AdminStellarAsset. This should generally be used opposed to []AdminStellarAsset.

func (AdminStellarAssetSlice) DeleteAll

func (o AdminStellarAssetSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AdminStellarAssetSlice) DeleteAllG

func (o AdminStellarAssetSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AdminStellarAssetSlice) ReloadAll

func (o *AdminStellarAssetSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AdminStellarAssetSlice) ReloadAllG

func (o *AdminStellarAssetSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdminStellarAssetSlice) UpdateAll

func (o AdminStellarAssetSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AdminStellarAssetSlice) UpdateAllG

func (o AdminStellarAssetSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type AdminStellarSigner

type AdminStellarSigner struct {
	ID                        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	StellarAccountPublicKeyID string    `` /* 147-byte string literal not displayed */
	Name                      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Description               string    `boil:"description" json:"description" toml:"description" yaml:"description"`
	SignerPublicKey           string    `boil:"signer_public_key" json:"signer_public_key" toml:"signer_public_key" yaml:"signer_public_key"`
	SignerSecretSeed          string    `boil:"signer_secret_seed" json:"signer_secret_seed" toml:"signer_secret_seed" yaml:"signer_secret_seed"`
	Type                      string    `boil:"type" json:"type" toml:"type" yaml:"type"`
	CreatedAt                 time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt                 time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy                 string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *adminStellarSignerR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L adminStellarSignerL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdminStellarSigner is an object representing the database table.

func FindAdminStellarSigner

func FindAdminStellarSigner(exec boil.Executor, iD int, selectCols ...string) (*AdminStellarSigner, error)

FindAdminStellarSigner retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAdminStellarSignerG

func FindAdminStellarSignerG(iD int, selectCols ...string) (*AdminStellarSigner, error)

FindAdminStellarSignerG retrieves a single record by ID.

func (*AdminStellarSigner) Delete

func (o *AdminStellarSigner) Delete(exec boil.Executor) (int64, error)

Delete deletes a single AdminStellarSigner record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdminStellarSigner) DeleteG

func (o *AdminStellarSigner) DeleteG() (int64, error)

DeleteG deletes a single AdminStellarSigner record. DeleteG will match against the primary key column to find the record to delete.

func (*AdminStellarSigner) Insert

func (o *AdminStellarSigner) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdminStellarSigner) InsertG

func (o *AdminStellarSigner) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*AdminStellarSigner) Reload

func (o *AdminStellarSigner) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AdminStellarSigner) ReloadG

func (o *AdminStellarSigner) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*AdminStellarSigner) SetStellarAccountPublicKey

func (o *AdminStellarSigner) SetStellarAccountPublicKey(exec boil.Executor, insert bool, related *AdminStellarAccount) error

SetStellarAccountPublicKey of the adminStellarSigner to the related item. Sets o.R.StellarAccountPublicKey to related. Adds o to related.R.StellarAccountPublicKeyAdminStellarSigners.

func (*AdminStellarSigner) SetStellarAccountPublicKeyG

func (o *AdminStellarSigner) SetStellarAccountPublicKeyG(insert bool, related *AdminStellarAccount) error

SetStellarAccountPublicKeyG of the adminStellarSigner to the related item. Sets o.R.StellarAccountPublicKey to related. Adds o to related.R.StellarAccountPublicKeyAdminStellarSigners. Uses the global database handle.

func (*AdminStellarSigner) StellarAccountPublicKey

func (o *AdminStellarSigner) StellarAccountPublicKey(mods ...qm.QueryMod) adminStellarAccountQuery

StellarAccountPublicKey pointed to by the foreign key.

func (*AdminStellarSigner) Update

func (o *AdminStellarSigner) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdminStellarSigner. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdminStellarSigner) UpdateG

func (o *AdminStellarSigner) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single AdminStellarSigner record using the global executor. See Update for more documentation.

func (*AdminStellarSigner) Upsert

func (o *AdminStellarSigner) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AdminStellarSigner) UpsertG

func (o *AdminStellarSigner) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AdminStellarSignerHook

type AdminStellarSignerHook func(boil.Executor, *AdminStellarSigner) error

AdminStellarSignerHook is the signature for custom AdminStellarSigner hook methods

type AdminStellarSignerSlice

type AdminStellarSignerSlice []*AdminStellarSigner

AdminStellarSignerSlice is an alias for a slice of pointers to AdminStellarSigner. This should generally be used opposed to []AdminStellarSigner.

func (AdminStellarSignerSlice) DeleteAll

func (o AdminStellarSignerSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AdminStellarSignerSlice) DeleteAllG

func (o AdminStellarSignerSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AdminStellarSignerSlice) ReloadAll

func (o *AdminStellarSignerSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AdminStellarSignerSlice) ReloadAllG

func (o *AdminStellarSignerSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdminStellarSignerSlice) UpdateAll

func (o AdminStellarSignerSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AdminStellarSignerSlice) UpdateAllG

func (o AdminStellarSignerSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type AdminUnauthorizedTrustline

type AdminUnauthorizedTrustline struct {
	ID                int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	IssuerPublicKeyID string    `boil:"issuer_public_key_id" json:"issuer_public_key_id" toml:"issuer_public_key_id" yaml:"issuer_public_key_id"`
	TrustorPublicKey  string    `boil:"trustor_public_key" json:"trustor_public_key" toml:"trustor_public_key" yaml:"trustor_public_key"`
	AssetCode         string    `boil:"asset_code" json:"asset_code" toml:"asset_code" yaml:"asset_code"`
	Status            string    `boil:"status" json:"status" toml:"status" yaml:"status"`
	Reason            string    `boil:"reason" json:"reason" toml:"reason" yaml:"reason"`
	CreatedAt         time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt         time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy         string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *adminUnauthorizedTrustlineR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L adminUnauthorizedTrustlineL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdminUnauthorizedTrustline is an object representing the database table.

func FindAdminUnauthorizedTrustline

func FindAdminUnauthorizedTrustline(exec boil.Executor, iD int, selectCols ...string) (*AdminUnauthorizedTrustline, error)

FindAdminUnauthorizedTrustline retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAdminUnauthorizedTrustlineG

func FindAdminUnauthorizedTrustlineG(iD int, selectCols ...string) (*AdminUnauthorizedTrustline, error)

FindAdminUnauthorizedTrustlineG retrieves a single record by ID.

func (*AdminUnauthorizedTrustline) Delete

func (o *AdminUnauthorizedTrustline) Delete(exec boil.Executor) (int64, error)

Delete deletes a single AdminUnauthorizedTrustline record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdminUnauthorizedTrustline) DeleteG

func (o *AdminUnauthorizedTrustline) DeleteG() (int64, error)

DeleteG deletes a single AdminUnauthorizedTrustline record. DeleteG will match against the primary key column to find the record to delete.

func (*AdminUnauthorizedTrustline) Insert

func (o *AdminUnauthorizedTrustline) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdminUnauthorizedTrustline) InsertG

func (o *AdminUnauthorizedTrustline) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*AdminUnauthorizedTrustline) IssuerPublicKey

func (o *AdminUnauthorizedTrustline) IssuerPublicKey(mods ...qm.QueryMod) adminStellarAccountQuery

IssuerPublicKey pointed to by the foreign key.

func (*AdminUnauthorizedTrustline) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*AdminUnauthorizedTrustline) ReloadG

func (o *AdminUnauthorizedTrustline) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*AdminUnauthorizedTrustline) SetIssuerPublicKey

func (o *AdminUnauthorizedTrustline) SetIssuerPublicKey(exec boil.Executor, insert bool, related *AdminStellarAccount) error

SetIssuerPublicKey of the adminUnauthorizedTrustline to the related item. Sets o.R.IssuerPublicKey to related. Adds o to related.R.IssuerPublicKeyAdminUnauthorizedTrustlines.

func (*AdminUnauthorizedTrustline) SetIssuerPublicKeyG

func (o *AdminUnauthorizedTrustline) SetIssuerPublicKeyG(insert bool, related *AdminStellarAccount) error

SetIssuerPublicKeyG of the adminUnauthorizedTrustline to the related item. Sets o.R.IssuerPublicKey to related. Adds o to related.R.IssuerPublicKeyAdminUnauthorizedTrustlines. Uses the global database handle.

func (*AdminUnauthorizedTrustline) Update

func (o *AdminUnauthorizedTrustline) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdminUnauthorizedTrustline. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdminUnauthorizedTrustline) UpdateG

func (o *AdminUnauthorizedTrustline) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single AdminUnauthorizedTrustline record using the global executor. See Update for more documentation.

func (*AdminUnauthorizedTrustline) Upsert

func (o *AdminUnauthorizedTrustline) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AdminUnauthorizedTrustline) UpsertG

func (o *AdminUnauthorizedTrustline) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

type AdminUnauthorizedTrustlineHook

type AdminUnauthorizedTrustlineHook func(boil.Executor, *AdminUnauthorizedTrustline) error

AdminUnauthorizedTrustlineHook is the signature for custom AdminUnauthorizedTrustline hook methods

type AdminUnauthorizedTrustlineSlice

type AdminUnauthorizedTrustlineSlice []*AdminUnauthorizedTrustline

AdminUnauthorizedTrustlineSlice is an alias for a slice of pointers to AdminUnauthorizedTrustline. This should generally be used opposed to []AdminUnauthorizedTrustline.

func (AdminUnauthorizedTrustlineSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (AdminUnauthorizedTrustlineSlice) DeleteAllG

func (o AdminUnauthorizedTrustlineSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AdminUnauthorizedTrustlineSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AdminUnauthorizedTrustlineSlice) ReloadAllG

func (o *AdminUnauthorizedTrustlineSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdminUnauthorizedTrustlineSlice) UpdateAll

func (o AdminUnauthorizedTrustlineSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AdminUnauthorizedTrustlineSlice) UpdateAllG

func (o AdminUnauthorizedTrustlineSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type AdminUser

type AdminUser struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Forename  string    `boil:"forename" json:"forename" toml:"forename" yaml:"forename"`
	Lastname  string    `boil:"lastname" json:"lastname" toml:"lastname" yaml:"lastname"`
	Email     string    `boil:"email" json:"email" toml:"email" yaml:"email"`
	Phone     string    `boil:"phone" json:"phone" toml:"phone" yaml:"phone"`
	LastLogin time.Time `boil:"last_login" json:"last_login" toml:"last_login" yaml:"last_login"`
	Password  string    `boil:"password" json:"password" toml:"password" yaml:"password"`
	Active    bool      `boil:"active" json:"active" toml:"active" yaml:"active"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *adminUserR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L adminUserL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdminUser is an object representing the database table.

func FindAdminUser

func FindAdminUser(exec boil.Executor, iD int, selectCols ...string) (*AdminUser, error)

FindAdminUser retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAdminUserG

func FindAdminUserG(iD int, selectCols ...string) (*AdminUser, error)

FindAdminUserG retrieves a single record by ID.

func (*AdminUser) AddUserAdminUsergroups

func (o *AdminUser) AddUserAdminUsergroups(exec boil.Executor, insert bool, related ...*AdminUsergroup) error

AddUserAdminUsergroups adds the given related objects to the existing relationships of the admin_user, optionally inserting them as new records. Appends related to o.R.UserAdminUsergroups. Sets related.R.User appropriately.

func (*AdminUser) AddUserAdminUsergroupsG

func (o *AdminUser) AddUserAdminUsergroupsG(insert bool, related ...*AdminUsergroup) error

AddUserAdminUsergroupsG adds the given related objects to the existing relationships of the admin_user, optionally inserting them as new records. Appends related to o.R.UserAdminUsergroups. Sets related.R.User appropriately. Uses the global database handle.

func (*AdminUser) Delete

func (o *AdminUser) Delete(exec boil.Executor) (int64, error)

Delete deletes a single AdminUser record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdminUser) DeleteG

func (o *AdminUser) DeleteG() (int64, error)

DeleteG deletes a single AdminUser record. DeleteG will match against the primary key column to find the record to delete.

func (*AdminUser) Insert

func (o *AdminUser) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdminUser) InsertG

func (o *AdminUser) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*AdminUser) Reload

func (o *AdminUser) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AdminUser) ReloadG

func (o *AdminUser) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*AdminUser) Update

func (o *AdminUser) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdminUser. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdminUser) UpdateG

func (o *AdminUser) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single AdminUser record using the global executor. See Update for more documentation.

func (*AdminUser) Upsert

func (o *AdminUser) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AdminUser) UpsertG

func (o *AdminUser) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*AdminUser) UserAdminUsergroups

func (o *AdminUser) UserAdminUsergroups(mods ...qm.QueryMod) adminUsergroupQuery

UserAdminUsergroups retrieves all the admin_usergroup's AdminUsergroups with an executor via user_id column.

type AdminUserHook

type AdminUserHook func(boil.Executor, *AdminUser) error

AdminUserHook is the signature for custom AdminUser hook methods

type AdminUserSlice

type AdminUserSlice []*AdminUser

AdminUserSlice is an alias for a slice of pointers to AdminUser. This should generally be used opposed to []AdminUser.

func (AdminUserSlice) DeleteAll

func (o AdminUserSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AdminUserSlice) DeleteAllG

func (o AdminUserSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AdminUserSlice) ReloadAll

func (o *AdminUserSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AdminUserSlice) ReloadAllG

func (o *AdminUserSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdminUserSlice) UpdateAll

func (o AdminUserSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AdminUserSlice) UpdateAllG

func (o AdminUserSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type AdminUsergroup

type AdminUsergroup struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID    int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	GroupID   int       `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *adminUsergroupR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L adminUsergroupL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdminUsergroup is an object representing the database table.

func FindAdminUsergroup

func FindAdminUsergroup(exec boil.Executor, iD int, selectCols ...string) (*AdminUsergroup, error)

FindAdminUsergroup retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAdminUsergroupG

func FindAdminUsergroupG(iD int, selectCols ...string) (*AdminUsergroup, error)

FindAdminUsergroupG retrieves a single record by ID.

func (*AdminUsergroup) Delete

func (o *AdminUsergroup) Delete(exec boil.Executor) (int64, error)

Delete deletes a single AdminUsergroup record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdminUsergroup) DeleteG

func (o *AdminUsergroup) DeleteG() (int64, error)

DeleteG deletes a single AdminUsergroup record. DeleteG will match against the primary key column to find the record to delete.

func (*AdminUsergroup) Group

func (o *AdminUsergroup) Group(mods ...qm.QueryMod) adminGroupQuery

Group pointed to by the foreign key.

func (*AdminUsergroup) Insert

func (o *AdminUsergroup) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdminUsergroup) InsertG

func (o *AdminUsergroup) InsertG(columns boil.Columns) error

InsertG a single record. See Insert for whitelist behavior description.

func (*AdminUsergroup) Reload

func (o *AdminUsergroup) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AdminUsergroup) ReloadG

func (o *AdminUsergroup) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*AdminUsergroup) SetGroup

func (o *AdminUsergroup) SetGroup(exec boil.Executor, insert bool, related *AdminGroup) error

SetGroup of the adminUsergroup to the related item. Sets o.R.Group to related. Adds o to related.R.GroupAdminUsergroups.

func (*AdminUsergroup) SetGroupG

func (o *AdminUsergroup) SetGroupG(insert bool, related *AdminGroup) error

SetGroupG of the adminUsergroup to the related item. Sets o.R.Group to related. Adds o to related.R.GroupAdminUsergroups. Uses the global database handle.

func (*AdminUsergroup) SetUser

func (o *AdminUsergroup) SetUser(exec boil.Executor, insert bool, related *AdminUser) error

SetUser of the adminUsergroup to the related item. Sets o.R.User to related. Adds o to related.R.UserAdminUsergroups.

func (*AdminUsergroup) SetUserG

func (o *AdminUsergroup) SetUserG(insert bool, related *AdminUser) error

SetUserG of the adminUsergroup to the related item. Sets o.R.User to related. Adds o to related.R.UserAdminUsergroups. Uses the global database handle.

func (*AdminUsergroup) Update

func (o *AdminUsergroup) Update(exec boil.Executor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdminUsergroup. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdminUsergroup) UpdateG

func (o *AdminUsergroup) UpdateG(columns boil.Columns) (int64, error)

UpdateG a single AdminUsergroup record using the global executor. See Update for more documentation.

func (*AdminUsergroup) Upsert

func (o *AdminUsergroup) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AdminUsergroup) UpsertG

func (o *AdminUsergroup) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*AdminUsergroup) User

func (o *AdminUsergroup) User(mods ...qm.QueryMod) adminUserQuery

User pointed to by the foreign key.

type AdminUsergroupHook

type AdminUsergroupHook func(boil.Executor, *AdminUsergroup) error

AdminUsergroupHook is the signature for custom AdminUsergroup hook methods

type AdminUsergroupSlice

type AdminUsergroupSlice []*AdminUsergroup

AdminUsergroupSlice is an alias for a slice of pointers to AdminUsergroup. This should generally be used opposed to []AdminUsergroup.

func (AdminUsergroupSlice) DeleteAll

func (o AdminUsergroupSlice) DeleteAll(exec boil.Executor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (AdminUsergroupSlice) DeleteAllG

func (o AdminUsergroupSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*AdminUsergroupSlice) ReloadAll

func (o *AdminUsergroupSlice) ReloadAll(exec boil.Executor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AdminUsergroupSlice) ReloadAllG

func (o *AdminUsergroupSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdminUsergroupSlice) UpdateAll

func (o AdminUsergroupSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

func (AdminUsergroupSlice) UpdateAllG

func (o AdminUsergroupSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type M

type M map[string]interface{}

M type is for providing columns and column values to UpdateAll.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL