Documentation ¶
Index ¶
- type SQLStore
- func (store *SQLStore) CreateFileWithTx(ctx context.Context, arg *sqlc.CreateFileParams, saveFile func() error) (*sqlc.File, error)
- func (store *SQLStore) CreateFilesWithTx(ctx context.Context, arg []*sqlc.CreateFilesParams, saveFiles func() error) (err error)
- func (store *SQLStore) DeleteFilesWithTx(ctx context.Context, names []string, ...) error
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLStore ¶
Store struct provide all function Queries and + transaction
func (*SQLStore) CreateFileWithTx ¶
func (*SQLStore) CreateFilesWithTx ¶
type Store ¶
type Store interface { sqlc.Querier CreateFileWithTx(ctx context.Context, arg *sqlc.CreateFileParams, saveFile func() error) (*sqlc.File, error) CreateFilesWithTx(ctx context.Context, arg []*sqlc.CreateFilesParams, saveFiles func() error) error DeleteFilesWithTx(ctx context.Context, names []string, deleteFiles func(files []*sqlc.File) error) error }
Store interface provide all function Queries and + transaction
Click to show internal directories.
Click to hide internal directories.