Files
aperture/aperturedb/sqlc/querier.go
Jordi Montes c0353f07dd sqlc: bump version to v1.25.0
Since v0.18.0 there they multiple bug fixes, support more postgres/sqlite
features, etc...

Nothing impacting the current code.

NOTE: It also looks like sqlc is growing as a company and wants to support
more languages, add feature for cloud clients, etc... Because of the
open source nature of this project I do not think that brings any extra
benefit. The only remarkable thing is that they are working on doing the
code more modular, and extracting the code generation in multiple "plugins"
They already extracted the go one. No changes are needed by now, but maybe
at some point they delete the code gen form the main project and the config
files need to be updated to use the plugin system [sqlc-dev/plugin-sdk-go].
2024-02-13 11:28:53 -08:00

25 lines
828 B
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.25.0
package sqlc
import (
"context"
)
type Querier interface {
DeleteOnionPrivateKey(ctx context.Context) error
DeleteSecretByHash(ctx context.Context, hash []byte) (int64, error)
GetSecretByHash(ctx context.Context, hash []byte) ([]byte, error)
GetSession(ctx context.Context, passphraseEntropy []byte) (LncSession, error)
InsertSecret(ctx context.Context, arg InsertSecretParams) (int32, error)
InsertSession(ctx context.Context, arg InsertSessionParams) error
SelectOnionPrivateKey(ctx context.Context) ([]byte, error)
SetExpiry(ctx context.Context, arg SetExpiryParams) error
SetRemotePubKey(ctx context.Context, arg SetRemotePubKeyParams) error
UpsertOnion(ctx context.Context, arg UpsertOnionParams) error
}
var _ Querier = (*Queries)(nil)