horizon

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: 15 Imported by: 7

Documentation

Index

Constants

View Source
const (
	SourceReceiverPayment = "payment"
	SourceReceiverNotify  = "notify"
	SourceReceiverSse     = "sse"
)

Enum values for source_receiver

View Source
const (
	SseDataStatusNew      = "new"
	SseDataStatusSelected = "selected"
)

Enum values for sse_data_status

View Source
const (
	SseIndexNamesLastLedgerID = "last_ledger_id"
)

Enum values for sse_index_names

Variables

View Source
var ErrSyncFail = errors.New("horizon: 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 HistoryAccountColumns = struct {
	ID      string
	Address string
}{
	ID:      "id",
	Address: "address",
}
View Source
var HistoryAccountRels = struct {
}{}

HistoryAccountRels is where relationship names are stored.

View Source
var HistoryLedgerColumns = struct {
	Sequence           string
	LedgerHash         string
	PreviousLedgerHash string
	TransactionCount   string
	OperationCount     string
	ClosedAt           string
	CreatedAt          string
	UpdatedAt          string
	ID                 string
	ImporterVersion    string
	TotalCoins         string
	FeePool            string
	BaseFee            string
	BaseReserve        string
	MaxTXSetSize       string
	ProtocolVersion    string
	LedgerHeader       string
}{
	Sequence:           "sequence",
	LedgerHash:         "ledger_hash",
	PreviousLedgerHash: "previous_ledger_hash",
	TransactionCount:   "transaction_count",
	OperationCount:     "operation_count",
	ClosedAt:           "closed_at",
	CreatedAt:          "created_at",
	UpdatedAt:          "updated_at",
	ID:                 "id",
	ImporterVersion:    "importer_version",
	TotalCoins:         "total_coins",
	FeePool:            "fee_pool",
	BaseFee:            "base_fee",
	BaseReserve:        "base_reserve",
	MaxTXSetSize:       "max_tx_set_size",
	ProtocolVersion:    "protocol_version",
	LedgerHeader:       "ledger_header",
}
View Source
var HistoryLedgerRels = struct {
}{}

HistoryLedgerRels is where relationship names are stored.

View Source
var HistoryOperationColumns = struct {
	ID               string
	TransactionID    string
	ApplicationOrder string
	Type             string
	Details          string
	SourceAccount    string
}{
	ID:               "id",
	TransactionID:    "transaction_id",
	ApplicationOrder: "application_order",
	Type:             "type",
	Details:          "details",
	SourceAccount:    "source_account",
}
View Source
var HistoryOperationParticipantColumns = struct {
	ID                 string
	HistoryOperationID string
	HistoryAccountID   string
}{
	ID:                 "id",
	HistoryOperationID: "history_operation_id",
	HistoryAccountID:   "history_account_id",
}
View Source
var HistoryOperationParticipantRels = struct {
}{}

HistoryOperationParticipantRels is where relationship names are stored.

View Source
var HistoryOperationRels = struct {
}{}

HistoryOperationRels is where relationship names are stored.

View Source
var HistoryTransactionColumns = struct {
	TransactionHash  string
	LedgerSequence   string
	ApplicationOrder string
	Account          string
	AccountSequence  string
	FeePaid          string
	OperationCount   string
	CreatedAt        string
	UpdatedAt        string
	ID               string
	TXEnvelope       string
	TXResult         string
	TXMeta           string
	TXFeeMeta        string
	Signatures       string
	MemoType         string
	Memo             string
	TimeBounds       string
}{
	TransactionHash:  "transaction_hash",
	LedgerSequence:   "ledger_sequence",
	ApplicationOrder: "application_order",
	Account:          "account",
	AccountSequence:  "account_sequence",
	FeePaid:          "fee_paid",
	OperationCount:   "operation_count",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
	ID:               "id",
	TXEnvelope:       "tx_envelope",
	TXResult:         "tx_result",
	TXMeta:           "tx_meta",
	TXFeeMeta:        "tx_fee_meta",
	Signatures:       "signatures",
	MemoType:         "memo_type",
	Memo:             "memo",
	TimeBounds:       "time_bounds",
}
View Source
var HistoryTransactionParticipantColumns = struct {
	ID                   string
	HistoryTransactionID string
	HistoryAccountID     string
}{
	ID:                   "id",
	HistoryTransactionID: "history_transaction_id",
	HistoryAccountID:     "history_account_id",
}
View Source
var HistoryTransactionParticipantRels = struct {
}{}

HistoryTransactionParticipantRels is where relationship names are stored.

View Source
var HistoryTransactionRels = struct {
}{}

HistoryTransactionRels is where relationship names are stored.

View Source
var SseConfigColumns = struct {
	ID             string
	SourceReceiver string
	StellarAccount string
	OperationTypes string
	WithResume     string
	CreatedAt      string
	UpdatedAt      string
	ReturnData     string
}{
	ID:             "id",
	SourceReceiver: "source_receiver",
	StellarAccount: "stellar_account",
	OperationTypes: "operation_types",
	WithResume:     "with_resume",
	CreatedAt:      "created_at",
	UpdatedAt:      "updated_at",
	ReturnData:     "return_data",
}
View Source
var SseConfigRels = struct {
}{}

SseConfigRels is where relationship names are stored.

View Source
var SseDatumColumns = struct {
	ID             string
	SourceReceiver string
	Status         string
	StellarAccount string
	OperationType  string
	OperationData  string
	TransactionID  string
	OperationID    string
	LedgerID       string
	CreatedAt      string
	UpdatedAt      string
}{
	ID:             "id",
	SourceReceiver: "source_receiver",
	Status:         "status",
	StellarAccount: "stellar_account",
	OperationType:  "operation_type",
	OperationData:  "operation_data",
	TransactionID:  "transaction_id",
	OperationID:    "operation_id",
	LedgerID:       "ledger_id",
	CreatedAt:      "created_at",
	UpdatedAt:      "updated_at",
}
View Source
var SseDatumRels = struct {
}{}

SseDatumRels is where relationship names are stored.

View Source
var SseIndexColumns = struct {
	ID    string
	Name  string
	Value string
}{
	ID:    "id",
	Name:  "name",
	Value: "value",
}
View Source
var SseIndexRels = struct {
}{}

SseIndexRels is where relationship names are stored.

View Source
var TableNames = struct {
	HistoryAccounts                string
	HistoryLedgers                 string
	HistoryOperationParticipants   string
	HistoryOperations              string
	HistoryTransactionParticipants string
	HistoryTransactions            string
	SseConfig                      string
	SseData                        string
	SseIndex                       string
}{
	HistoryAccounts:                "history_accounts",
	HistoryLedgers:                 "history_ledgers",
	HistoryOperationParticipants:   "history_operation_participants",
	HistoryOperations:              "history_operations",
	HistoryTransactionParticipants: "history_transaction_participants",
	HistoryTransactions:            "history_transactions",
	SseConfig:                      "sse_config",
	SseData:                        "sse_data",
	SseIndex:                       "sse_index",
}

Functions

func AddHistoryAccountHook

func AddHistoryAccountHook(hookPoint boil.HookPoint, historyAccountHook HistoryAccountHook)

AddHistoryAccountHook registers your hook function for all future operations.

func AddHistoryLedgerHook

func AddHistoryLedgerHook(hookPoint boil.HookPoint, historyLedgerHook HistoryLedgerHook)

AddHistoryLedgerHook registers your hook function for all future operations.

func AddHistoryOperationHook

func AddHistoryOperationHook(hookPoint boil.HookPoint, historyOperationHook HistoryOperationHook)

AddHistoryOperationHook registers your hook function for all future operations.

func AddHistoryOperationParticipantHook

func AddHistoryOperationParticipantHook(hookPoint boil.HookPoint, historyOperationParticipantHook HistoryOperationParticipantHook)

AddHistoryOperationParticipantHook registers your hook function for all future operations.

func AddHistoryTransactionHook

func AddHistoryTransactionHook(hookPoint boil.HookPoint, historyTransactionHook HistoryTransactionHook)

AddHistoryTransactionHook registers your hook function for all future operations.

func AddHistoryTransactionParticipantHook

func AddHistoryTransactionParticipantHook(hookPoint boil.HookPoint, historyTransactionParticipantHook HistoryTransactionParticipantHook)

AddHistoryTransactionParticipantHook registers your hook function for all future operations.

func AddSseConfigHook

func AddSseConfigHook(hookPoint boil.HookPoint, sseConfigHook SseConfigHook)

AddSseConfigHook registers your hook function for all future operations.

func AddSseDatumHook

func AddSseDatumHook(hookPoint boil.HookPoint, sseDatumHook SseDatumHook)

AddSseDatumHook registers your hook function for all future operations.

func AddSseIndexHook

func AddSseIndexHook(hookPoint boil.HookPoint, sseIndexHook SseIndexHook)

AddSseIndexHook registers your hook function for all future operations.

func HistoryAccountExists

func HistoryAccountExists(exec boil.Executor, iD int64) (bool, error)

HistoryAccountExists checks if the HistoryAccount row exists.

func HistoryAccountExistsG

func HistoryAccountExistsG(iD int64) (bool, error)

HistoryAccountExistsG checks if the HistoryAccount row exists.

func HistoryAccounts

func HistoryAccounts(mods ...qm.QueryMod) historyAccountQuery

HistoryAccounts retrieves all the records using an executor.

func HistoryLedgerExists

func HistoryLedgerExists(exec boil.Executor, iD int64) (bool, error)

HistoryLedgerExists checks if the HistoryLedger row exists.

func HistoryLedgerExistsG

func HistoryLedgerExistsG(iD int64) (bool, error)

HistoryLedgerExistsG checks if the HistoryLedger row exists.

func HistoryLedgers

func HistoryLedgers(mods ...qm.QueryMod) historyLedgerQuery

HistoryLedgers retrieves all the records using an executor.

func HistoryOperationExists

func HistoryOperationExists(exec boil.Executor, iD int64) (bool, error)

HistoryOperationExists checks if the HistoryOperation row exists.

func HistoryOperationExistsG

func HistoryOperationExistsG(iD int64) (bool, error)

HistoryOperationExistsG checks if the HistoryOperation row exists.

func HistoryOperationParticipantExists

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

HistoryOperationParticipantExists checks if the HistoryOperationParticipant row exists.

func HistoryOperationParticipantExistsG

func HistoryOperationParticipantExistsG(iD int) (bool, error)

HistoryOperationParticipantExistsG checks if the HistoryOperationParticipant row exists.

func HistoryOperationParticipants

func HistoryOperationParticipants(mods ...qm.QueryMod) historyOperationParticipantQuery

HistoryOperationParticipants retrieves all the records using an executor.

func HistoryOperations

func HistoryOperations(mods ...qm.QueryMod) historyOperationQuery

HistoryOperations retrieves all the records using an executor.

func HistoryTransactionExists

func HistoryTransactionExists(exec boil.Executor, iD int64) (bool, error)

HistoryTransactionExists checks if the HistoryTransaction row exists.

func HistoryTransactionExistsG

func HistoryTransactionExistsG(iD int64) (bool, error)

HistoryTransactionExistsG checks if the HistoryTransaction row exists.

func HistoryTransactionParticipantExists

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

HistoryTransactionParticipantExists checks if the HistoryTransactionParticipant row exists.

func HistoryTransactionParticipantExistsG

func HistoryTransactionParticipantExistsG(iD int) (bool, error)

HistoryTransactionParticipantExistsG checks if the HistoryTransactionParticipant row exists.

func HistoryTransactionParticipants

func HistoryTransactionParticipants(mods ...qm.QueryMod) historyTransactionParticipantQuery

HistoryTransactionParticipants retrieves all the records using an executor.

func HistoryTransactions

func HistoryTransactions(mods ...qm.QueryMod) historyTransactionQuery

HistoryTransactions 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

func SseConfigExists

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

SseConfigExists checks if the SseConfig row exists.

func SseConfigExistsG

func SseConfigExistsG(iD int) (bool, error)

SseConfigExistsG checks if the SseConfig row exists.

func SseConfigs

func SseConfigs(mods ...qm.QueryMod) sseConfigQuery

SseConfigs retrieves all the records using an executor.

func SseData

func SseData(mods ...qm.QueryMod) sseDatumQuery

SseData retrieves all the records using an executor.

func SseDatumExists

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

SseDatumExists checks if the SseDatum row exists.

func SseDatumExistsG

func SseDatumExistsG(iD int) (bool, error)

SseDatumExistsG checks if the SseDatum row exists.

func SseIndexExists

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

SseIndexExists checks if the SseIndex row exists.

func SseIndexExistsG

func SseIndexExistsG(iD int) (bool, error)

SseIndexExistsG checks if the SseIndex row exists.

func SseIndices

func SseIndices(mods ...qm.QueryMod) sseIndexQuery

SseIndices retrieves all the records using an executor.

Types

type HistoryAccount

type HistoryAccount struct {
	ID      int64       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Address null.String `boil:"address" json:"address,omitempty" toml:"address" yaml:"address,omitempty"`

	R *historyAccountR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L historyAccountL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

HistoryAccount is an object representing the database table.

func FindHistoryAccount

func FindHistoryAccount(exec boil.Executor, iD int64, selectCols ...string) (*HistoryAccount, error)

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

func FindHistoryAccountG

func FindHistoryAccountG(iD int64, selectCols ...string) (*HistoryAccount, error)

FindHistoryAccountG retrieves a single record by ID.

func (*HistoryAccount) Delete

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

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

func (*HistoryAccount) DeleteG

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

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

func (*HistoryAccount) Insert

func (o *HistoryAccount) 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 (*HistoryAccount) InsertG

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

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

func (*HistoryAccount) Reload

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

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

func (*HistoryAccount) ReloadG

func (o *HistoryAccount) ReloadG() error

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

func (*HistoryAccount) Update

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

Update uses an executor to update the HistoryAccount. 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 (*HistoryAccount) UpdateG

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

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

func (*HistoryAccount) Upsert

func (o *HistoryAccount) 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 (*HistoryAccount) UpsertG

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

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

type HistoryAccountHook

type HistoryAccountHook func(boil.Executor, *HistoryAccount) error

HistoryAccountHook is the signature for custom HistoryAccount hook methods

type HistoryAccountSlice

type HistoryAccountSlice []*HistoryAccount

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

func (HistoryAccountSlice) DeleteAll

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

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

func (HistoryAccountSlice) DeleteAllG

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

DeleteAllG deletes all rows in the slice.

func (*HistoryAccountSlice) ReloadAll

func (o *HistoryAccountSlice) 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 (*HistoryAccountSlice) ReloadAllG

func (o *HistoryAccountSlice) ReloadAllG() error

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

func (HistoryAccountSlice) UpdateAll

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

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

func (HistoryAccountSlice) UpdateAllG

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

UpdateAllG updates all rows with the specified column values.

type HistoryLedger

type HistoryLedger struct {
	Sequence           int         `boil:"sequence" json:"sequence" toml:"sequence" yaml:"sequence"`
	LedgerHash         string      `boil:"ledger_hash" json:"ledger_hash" toml:"ledger_hash" yaml:"ledger_hash"`
	PreviousLedgerHash null.String `` /* 131-byte string literal not displayed */
	TransactionCount   int         `boil:"transaction_count" json:"transaction_count" toml:"transaction_count" yaml:"transaction_count"`
	OperationCount     int         `boil:"operation_count" json:"operation_count" toml:"operation_count" yaml:"operation_count"`
	ClosedAt           time.Time   `boil:"closed_at" json:"closed_at" toml:"closed_at" yaml:"closed_at"`
	CreatedAt          null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt          null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	ID                 int64       `boil:"id" json:"id" toml:"id" yaml:"id"`
	ImporterVersion    int         `boil:"importer_version" json:"importer_version" toml:"importer_version" yaml:"importer_version"`
	TotalCoins         int64       `boil:"total_coins" json:"total_coins" toml:"total_coins" yaml:"total_coins"`
	FeePool            int64       `boil:"fee_pool" json:"fee_pool" toml:"fee_pool" yaml:"fee_pool"`
	BaseFee            int         `boil:"base_fee" json:"base_fee" toml:"base_fee" yaml:"base_fee"`
	BaseReserve        int         `boil:"base_reserve" json:"base_reserve" toml:"base_reserve" yaml:"base_reserve"`
	MaxTXSetSize       int         `boil:"max_tx_set_size" json:"max_tx_set_size" toml:"max_tx_set_size" yaml:"max_tx_set_size"`
	ProtocolVersion    int         `boil:"protocol_version" json:"protocol_version" toml:"protocol_version" yaml:"protocol_version"`
	LedgerHeader       null.String `boil:"ledger_header" json:"ledger_header,omitempty" toml:"ledger_header" yaml:"ledger_header,omitempty"`

	R *historyLedgerR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L historyLedgerL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

HistoryLedger is an object representing the database table.

func FindHistoryLedger

func FindHistoryLedger(exec boil.Executor, iD int64, selectCols ...string) (*HistoryLedger, error)

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

func FindHistoryLedgerG

func FindHistoryLedgerG(iD int64, selectCols ...string) (*HistoryLedger, error)

FindHistoryLedgerG retrieves a single record by ID.

func (*HistoryLedger) Delete

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

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

func (*HistoryLedger) DeleteG

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

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

func (*HistoryLedger) Insert

func (o *HistoryLedger) 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 (*HistoryLedger) InsertG

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

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

func (*HistoryLedger) Reload

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

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

func (*HistoryLedger) ReloadG

func (o *HistoryLedger) ReloadG() error

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

func (*HistoryLedger) Update

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

Update uses an executor to update the HistoryLedger. 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 (*HistoryLedger) UpdateG

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

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

func (*HistoryLedger) Upsert

func (o *HistoryLedger) 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 (*HistoryLedger) UpsertG

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

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

type HistoryLedgerHook

type HistoryLedgerHook func(boil.Executor, *HistoryLedger) error

HistoryLedgerHook is the signature for custom HistoryLedger hook methods

type HistoryLedgerSlice

type HistoryLedgerSlice []*HistoryLedger

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

func (HistoryLedgerSlice) DeleteAll

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

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

func (HistoryLedgerSlice) DeleteAllG

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

DeleteAllG deletes all rows in the slice.

func (*HistoryLedgerSlice) ReloadAll

func (o *HistoryLedgerSlice) 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 (*HistoryLedgerSlice) ReloadAllG

func (o *HistoryLedgerSlice) ReloadAllG() error

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

func (HistoryLedgerSlice) UpdateAll

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

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

func (HistoryLedgerSlice) UpdateAllG

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

UpdateAllG updates all rows with the specified column values.

type HistoryOperation

type HistoryOperation struct {
	ID               int64     `boil:"id" json:"id" toml:"id" yaml:"id"`
	TransactionID    int64     `boil:"transaction_id" json:"transaction_id" toml:"transaction_id" yaml:"transaction_id"`
	ApplicationOrder int       `boil:"application_order" json:"application_order" toml:"application_order" yaml:"application_order"`
	Type             int       `boil:"type" json:"type" toml:"type" yaml:"type"`
	Details          null.JSON `boil:"details" json:"details,omitempty" toml:"details" yaml:"details,omitempty"`
	SourceAccount    string    `boil:"source_account" json:"source_account" toml:"source_account" yaml:"source_account"`

	R *historyOperationR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L historyOperationL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

HistoryOperation is an object representing the database table.

func FindHistoryOperation

func FindHistoryOperation(exec boil.Executor, iD int64, selectCols ...string) (*HistoryOperation, error)

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

func FindHistoryOperationG

func FindHistoryOperationG(iD int64, selectCols ...string) (*HistoryOperation, error)

FindHistoryOperationG retrieves a single record by ID.

func (*HistoryOperation) Delete

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

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

func (*HistoryOperation) DeleteG

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

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

func (*HistoryOperation) Insert

func (o *HistoryOperation) 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 (*HistoryOperation) InsertG

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

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

func (*HistoryOperation) Reload

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

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

func (*HistoryOperation) ReloadG

func (o *HistoryOperation) ReloadG() error

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

func (*HistoryOperation) Update

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

Update uses an executor to update the HistoryOperation. 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 (*HistoryOperation) UpdateG

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

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

func (*HistoryOperation) Upsert

func (o *HistoryOperation) 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 (*HistoryOperation) UpsertG

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

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

type HistoryOperationHook

type HistoryOperationHook func(boil.Executor, *HistoryOperation) error

HistoryOperationHook is the signature for custom HistoryOperation hook methods

type HistoryOperationParticipant

type HistoryOperationParticipant struct {
	ID                 int   `boil:"id" json:"id" toml:"id" yaml:"id"`
	HistoryOperationID int64 `boil:"history_operation_id" json:"history_operation_id" toml:"history_operation_id" yaml:"history_operation_id"`
	HistoryAccountID   int64 `boil:"history_account_id" json:"history_account_id" toml:"history_account_id" yaml:"history_account_id"`

	R *historyOperationParticipantR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L historyOperationParticipantL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

HistoryOperationParticipant is an object representing the database table.

func FindHistoryOperationParticipant

func FindHistoryOperationParticipant(exec boil.Executor, iD int, selectCols ...string) (*HistoryOperationParticipant, error)

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

func FindHistoryOperationParticipantG

func FindHistoryOperationParticipantG(iD int, selectCols ...string) (*HistoryOperationParticipant, error)

FindHistoryOperationParticipantG retrieves a single record by ID.

func (*HistoryOperationParticipant) Delete

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

func (*HistoryOperationParticipant) DeleteG

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

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

func (*HistoryOperationParticipant) Insert

func (o *HistoryOperationParticipant) 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 (*HistoryOperationParticipant) InsertG

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

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

func (*HistoryOperationParticipant) Reload

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

func (*HistoryOperationParticipant) ReloadG

func (o *HistoryOperationParticipant) ReloadG() error

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

func (*HistoryOperationParticipant) Update

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

Update uses an executor to update the HistoryOperationParticipant. 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 (*HistoryOperationParticipant) UpdateG

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

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

func (*HistoryOperationParticipant) Upsert

func (o *HistoryOperationParticipant) 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 (*HistoryOperationParticipant) UpsertG

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

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

type HistoryOperationParticipantHook

type HistoryOperationParticipantHook func(boil.Executor, *HistoryOperationParticipant) error

HistoryOperationParticipantHook is the signature for custom HistoryOperationParticipant hook methods

type HistoryOperationParticipantSlice

type HistoryOperationParticipantSlice []*HistoryOperationParticipant

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

func (HistoryOperationParticipantSlice) DeleteAll

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

func (HistoryOperationParticipantSlice) DeleteAllG

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

DeleteAllG deletes all rows in the slice.

func (*HistoryOperationParticipantSlice) ReloadAll

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

func (*HistoryOperationParticipantSlice) ReloadAllG

func (o *HistoryOperationParticipantSlice) ReloadAllG() error

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

func (HistoryOperationParticipantSlice) UpdateAll

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

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

func (HistoryOperationParticipantSlice) UpdateAllG

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

UpdateAllG updates all rows with the specified column values.

type HistoryOperationSlice

type HistoryOperationSlice []*HistoryOperation

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

func (HistoryOperationSlice) DeleteAll

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

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

func (HistoryOperationSlice) DeleteAllG

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

DeleteAllG deletes all rows in the slice.

func (*HistoryOperationSlice) ReloadAll

func (o *HistoryOperationSlice) 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 (*HistoryOperationSlice) ReloadAllG

func (o *HistoryOperationSlice) ReloadAllG() error

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

func (HistoryOperationSlice) UpdateAll

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

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

func (HistoryOperationSlice) UpdateAllG

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

UpdateAllG updates all rows with the specified column values.

type HistoryTransaction

type HistoryTransaction struct {
	TransactionHash  string            `boil:"transaction_hash" json:"transaction_hash" toml:"transaction_hash" yaml:"transaction_hash"`
	LedgerSequence   int               `boil:"ledger_sequence" json:"ledger_sequence" toml:"ledger_sequence" yaml:"ledger_sequence"`
	ApplicationOrder int               `boil:"application_order" json:"application_order" toml:"application_order" yaml:"application_order"`
	Account          string            `boil:"account" json:"account" toml:"account" yaml:"account"`
	AccountSequence  int64             `boil:"account_sequence" json:"account_sequence" toml:"account_sequence" yaml:"account_sequence"`
	FeePaid          int               `boil:"fee_paid" json:"fee_paid" toml:"fee_paid" yaml:"fee_paid"`
	OperationCount   int               `boil:"operation_count" json:"operation_count" toml:"operation_count" yaml:"operation_count"`
	CreatedAt        null.Time         `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt        null.Time         `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	ID               int64             `boil:"id" json:"id" toml:"id" yaml:"id"`
	TXEnvelope       string            `boil:"tx_envelope" json:"tx_envelope" toml:"tx_envelope" yaml:"tx_envelope"`
	TXResult         string            `boil:"tx_result" json:"tx_result" toml:"tx_result" yaml:"tx_result"`
	TXMeta           string            `boil:"tx_meta" json:"tx_meta" toml:"tx_meta" yaml:"tx_meta"`
	TXFeeMeta        string            `boil:"tx_fee_meta" json:"tx_fee_meta" toml:"tx_fee_meta" yaml:"tx_fee_meta"`
	Signatures       types.StringArray `boil:"signatures" json:"signatures" toml:"signatures" yaml:"signatures"`
	MemoType         string            `boil:"memo_type" json:"memo_type" toml:"memo_type" yaml:"memo_type"`
	Memo             null.String       `boil:"memo" json:"memo,omitempty" toml:"memo" yaml:"memo,omitempty"`
	TimeBounds       null.String       `boil:"time_bounds" json:"time_bounds,omitempty" toml:"time_bounds" yaml:"time_bounds,omitempty"`

	R *historyTransactionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L historyTransactionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

HistoryTransaction is an object representing the database table.

func FindHistoryTransaction

func FindHistoryTransaction(exec boil.Executor, iD int64, selectCols ...string) (*HistoryTransaction, error)

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

func FindHistoryTransactionG

func FindHistoryTransactionG(iD int64, selectCols ...string) (*HistoryTransaction, error)

FindHistoryTransactionG retrieves a single record by ID.

func (*HistoryTransaction) Delete

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

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

func (*HistoryTransaction) DeleteG

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

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

func (*HistoryTransaction) Insert

func (o *HistoryTransaction) 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 (*HistoryTransaction) InsertG

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

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

func (*HistoryTransaction) Reload

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

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

func (*HistoryTransaction) ReloadG

func (o *HistoryTransaction) ReloadG() error

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

func (*HistoryTransaction) Update

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

Update uses an executor to update the HistoryTransaction. 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 (*HistoryTransaction) UpdateG

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

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

func (*HistoryTransaction) Upsert

func (o *HistoryTransaction) 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 (*HistoryTransaction) UpsertG

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

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

type HistoryTransactionHook

type HistoryTransactionHook func(boil.Executor, *HistoryTransaction) error

HistoryTransactionHook is the signature for custom HistoryTransaction hook methods

type HistoryTransactionParticipant

type HistoryTransactionParticipant struct {
	ID                   int   `boil:"id" json:"id" toml:"id" yaml:"id"`
	HistoryTransactionID int64 `boil:"history_transaction_id" json:"history_transaction_id" toml:"history_transaction_id" yaml:"history_transaction_id"`
	HistoryAccountID     int64 `boil:"history_account_id" json:"history_account_id" toml:"history_account_id" yaml:"history_account_id"`

	R *historyTransactionParticipantR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L historyTransactionParticipantL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

HistoryTransactionParticipant is an object representing the database table.

func FindHistoryTransactionParticipant

func FindHistoryTransactionParticipant(exec boil.Executor, iD int, selectCols ...string) (*HistoryTransactionParticipant, error)

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

func FindHistoryTransactionParticipantG

func FindHistoryTransactionParticipantG(iD int, selectCols ...string) (*HistoryTransactionParticipant, error)

FindHistoryTransactionParticipantG retrieves a single record by ID.

func (*HistoryTransactionParticipant) Delete

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

func (*HistoryTransactionParticipant) DeleteG

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

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

func (*HistoryTransactionParticipant) Insert

func (o *HistoryTransactionParticipant) 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 (*HistoryTransactionParticipant) InsertG

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

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

func (*HistoryTransactionParticipant) Reload

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

func (*HistoryTransactionParticipant) ReloadG

func (o *HistoryTransactionParticipant) ReloadG() error

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

func (*HistoryTransactionParticipant) Update

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

Update uses an executor to update the HistoryTransactionParticipant. 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 (*HistoryTransactionParticipant) UpdateG

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

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

func (*HistoryTransactionParticipant) Upsert

func (o *HistoryTransactionParticipant) 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 (*HistoryTransactionParticipant) UpsertG

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

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

type HistoryTransactionParticipantHook

type HistoryTransactionParticipantHook func(boil.Executor, *HistoryTransactionParticipant) error

HistoryTransactionParticipantHook is the signature for custom HistoryTransactionParticipant hook methods

type HistoryTransactionParticipantSlice

type HistoryTransactionParticipantSlice []*HistoryTransactionParticipant

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

func (HistoryTransactionParticipantSlice) DeleteAll

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

func (HistoryTransactionParticipantSlice) DeleteAllG

DeleteAllG deletes all rows in the slice.

func (*HistoryTransactionParticipantSlice) ReloadAll

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

func (*HistoryTransactionParticipantSlice) ReloadAllG

func (o *HistoryTransactionParticipantSlice) ReloadAllG() error

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

func (HistoryTransactionParticipantSlice) UpdateAll

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

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

func (HistoryTransactionParticipantSlice) UpdateAllG

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

UpdateAllG updates all rows with the specified column values.

type HistoryTransactionSlice

type HistoryTransactionSlice []*HistoryTransaction

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

func (HistoryTransactionSlice) DeleteAll

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

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

func (HistoryTransactionSlice) DeleteAllG

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

DeleteAllG deletes all rows in the slice.

func (*HistoryTransactionSlice) ReloadAll

func (o *HistoryTransactionSlice) 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 (*HistoryTransactionSlice) ReloadAllG

func (o *HistoryTransactionSlice) ReloadAllG() error

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

func (HistoryTransactionSlice) UpdateAll

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

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

func (HistoryTransactionSlice) UpdateAllG

func (o HistoryTransactionSlice) 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.

type SseConfig

type SseConfig struct {
	ID             int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	SourceReceiver string    `boil:"source_receiver" json:"source_receiver" toml:"source_receiver" yaml:"source_receiver"`
	StellarAccount string    `boil:"stellar_account" json:"stellar_account" toml:"stellar_account" yaml:"stellar_account"`
	OperationTypes int64     `boil:"operation_types" json:"operation_types" toml:"operation_types" yaml:"operation_types"`
	WithResume     bool      `boil:"with_resume" json:"with_resume" toml:"with_resume" yaml:"with_resume"`
	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"`
	ReturnData     bool      `boil:"return_data" json:"return_data" toml:"return_data" yaml:"return_data"`

	R *sseConfigR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L sseConfigL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

SseConfig is an object representing the database table.

func FindSseConfig

func FindSseConfig(exec boil.Executor, iD int, selectCols ...string) (*SseConfig, error)

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

func FindSseConfigG

func FindSseConfigG(iD int, selectCols ...string) (*SseConfig, error)

FindSseConfigG retrieves a single record by ID.

func (*SseConfig) Delete

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

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

func (*SseConfig) DeleteG

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

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

func (*SseConfig) Insert

func (o *SseConfig) 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 (*SseConfig) InsertG

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

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

func (*SseConfig) Reload

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

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

func (*SseConfig) ReloadG

func (o *SseConfig) ReloadG() error

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

func (*SseConfig) Update

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

Update uses an executor to update the SseConfig. 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 (*SseConfig) UpdateG

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

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

func (*SseConfig) Upsert

func (o *SseConfig) 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 (*SseConfig) UpsertG

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

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

type SseConfigHook

type SseConfigHook func(boil.Executor, *SseConfig) error

SseConfigHook is the signature for custom SseConfig hook methods

type SseConfigSlice

type SseConfigSlice []*SseConfig

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

func (SseConfigSlice) DeleteAll

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

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

func (SseConfigSlice) DeleteAllG

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

DeleteAllG deletes all rows in the slice.

func (*SseConfigSlice) ReloadAll

func (o *SseConfigSlice) 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 (*SseConfigSlice) ReloadAllG

func (o *SseConfigSlice) ReloadAllG() error

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

func (SseConfigSlice) UpdateAll

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

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

func (SseConfigSlice) UpdateAllG

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

UpdateAllG updates all rows with the specified column values.

type SseDatum

type SseDatum struct {
	ID             int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	SourceReceiver string    `boil:"source_receiver" json:"source_receiver" toml:"source_receiver" yaml:"source_receiver"`
	Status         string    `boil:"status" json:"status" toml:"status" yaml:"status"`
	StellarAccount string    `boil:"stellar_account" json:"stellar_account" toml:"stellar_account" yaml:"stellar_account"`
	OperationType  int       `boil:"operation_type" json:"operation_type" toml:"operation_type" yaml:"operation_type"`
	OperationData  null.JSON `boil:"operation_data" json:"operation_data,omitempty" toml:"operation_data" yaml:"operation_data,omitempty"`
	TransactionID  int64     `boil:"transaction_id" json:"transaction_id" toml:"transaction_id" yaml:"transaction_id"`
	OperationID    int64     `boil:"operation_id" json:"operation_id" toml:"operation_id" yaml:"operation_id"`
	LedgerID       int64     `boil:"ledger_id" json:"ledger_id" toml:"ledger_id" yaml:"ledger_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"`

	R *sseDatumR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L sseDatumL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

SseDatum is an object representing the database table.

func FindSseDatum

func FindSseDatum(exec boil.Executor, iD int, selectCols ...string) (*SseDatum, error)

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

func FindSseDatumG

func FindSseDatumG(iD int, selectCols ...string) (*SseDatum, error)

FindSseDatumG retrieves a single record by ID.

func (*SseDatum) Delete

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

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

func (*SseDatum) DeleteG

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

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

func (*SseDatum) Insert

func (o *SseDatum) 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 (*SseDatum) InsertG

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

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

func (*SseDatum) Reload

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

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

func (*SseDatum) ReloadG

func (o *SseDatum) ReloadG() error

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

func (*SseDatum) Update

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

Update uses an executor to update the SseDatum. 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 (*SseDatum) UpdateG

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

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

func (*SseDatum) Upsert

func (o *SseDatum) 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 (*SseDatum) UpsertG

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

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

type SseDatumHook

type SseDatumHook func(boil.Executor, *SseDatum) error

SseDatumHook is the signature for custom SseDatum hook methods

type SseDatumSlice

type SseDatumSlice []*SseDatum

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

func (SseDatumSlice) DeleteAll

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

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

func (SseDatumSlice) DeleteAllG

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

DeleteAllG deletes all rows in the slice.

func (*SseDatumSlice) ReloadAll

func (o *SseDatumSlice) 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 (*SseDatumSlice) ReloadAllG

func (o *SseDatumSlice) ReloadAllG() error

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

func (SseDatumSlice) UpdateAll

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

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

func (SseDatumSlice) UpdateAllG

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

UpdateAllG updates all rows with the specified column values.

type SseIndex

type SseIndex struct {
	ID    int    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name  string `boil:"name" json:"name" toml:"name" yaml:"name"`
	Value int64  `boil:"value" json:"value" toml:"value" yaml:"value"`

	R *sseIndexR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L sseIndexL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

SseIndex is an object representing the database table.

func FindSseIndex

func FindSseIndex(exec boil.Executor, iD int, selectCols ...string) (*SseIndex, error)

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

func FindSseIndexG

func FindSseIndexG(iD int, selectCols ...string) (*SseIndex, error)

FindSseIndexG retrieves a single record by ID.

func (*SseIndex) Delete

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

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

func (*SseIndex) DeleteG

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

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

func (*SseIndex) Insert

func (o *SseIndex) 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 (*SseIndex) InsertG

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

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

func (*SseIndex) Reload

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

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

func (*SseIndex) ReloadG

func (o *SseIndex) ReloadG() error

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

func (*SseIndex) Update

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

Update uses an executor to update the SseIndex. 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 (*SseIndex) UpdateG

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

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

func (*SseIndex) Upsert

func (o *SseIndex) 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 (*SseIndex) UpsertG

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

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

type SseIndexHook

type SseIndexHook func(boil.Executor, *SseIndex) error

SseIndexHook is the signature for custom SseIndex hook methods

type SseIndexSlice

type SseIndexSlice []*SseIndex

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

func (SseIndexSlice) DeleteAll

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

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

func (SseIndexSlice) DeleteAllG

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

DeleteAllG deletes all rows in the slice.

func (*SseIndexSlice) ReloadAll

func (o *SseIndexSlice) 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 (*SseIndexSlice) ReloadAllG

func (o *SseIndexSlice) ReloadAllG() error

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

func (SseIndexSlice) UpdateAll

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

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

func (SseIndexSlice) UpdateAllG

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

UpdateAllG updates all rows with the specified column values.

Jump to

Keyboard shortcuts

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