feat: move db gen out, emit json field
This commit is contained in:
19
internal/db/querier.go
Normal file
19
internal/db/querier.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.29.0
|
||||
|
||||
package db
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type Querier interface {
|
||||
CreateAuthor(ctx context.Context, arg CreateAuthorParams) (Author, error)
|
||||
DeleteAuthor(ctx context.Context, id int64) error
|
||||
GetAuthor(ctx context.Context, id int64) (Author, error)
|
||||
ListAuthors(ctx context.Context) ([]Author, error)
|
||||
UpdateAuthor(ctx context.Context, arg UpdateAuthorParams) error
|
||||
}
|
||||
|
||||
var _ Querier = (*Queries)(nil)
|
||||
Reference in New Issue
Block a user