lightning-terminal/db/sqlc/querier.go

34 lines
1.5 KiB
Go
Raw Normal View History

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.25.0
package sqlc
import (
"context"
"database/sql"
)
type Querier interface {
AddAccountInvoice(ctx context.Context, arg AddAccountInvoiceParams) error
DeleteAccount(ctx context.Context, id int64) error
DeleteAccountPayment(ctx context.Context, arg DeleteAccountPaymentParams) error
GetAccount(ctx context.Context, id int64) (Account, error)
GetAccountByLabel(ctx context.Context, label sql.NullString) (Account, error)
GetAccountIDByAlias(ctx context.Context, alias int64) (int64, error)
GetAccountIndex(ctx context.Context, name string) (int64, error)
GetAccountInvoice(ctx context.Context, arg GetAccountInvoiceParams) (AccountInvoice, error)
GetAccountPayment(ctx context.Context, arg GetAccountPaymentParams) (AccountPayment, error)
InsertAccount(ctx context.Context, arg InsertAccountParams) (int64, error)
ListAccountInvoices(ctx context.Context, accountID int64) ([]AccountInvoice, error)
ListAccountPayments(ctx context.Context, accountID int64) ([]AccountPayment, error)
ListAllAccounts(ctx context.Context) ([]Account, error)
SetAccountIndex(ctx context.Context, arg SetAccountIndexParams) error
UpdateAccountBalance(ctx context.Context, arg UpdateAccountBalanceParams) (int64, error)
UpdateAccountExpiry(ctx context.Context, arg UpdateAccountExpiryParams) (int64, error)
UpdateAccountLastUpdate(ctx context.Context, arg UpdateAccountLastUpdateParams) (int64, error)
UpsertAccountPayment(ctx context.Context, arg UpsertAccountPaymentParams) error
}
var _ Querier = (*Queries)(nil)