(ctx context.Context, name string)
| 119 | ` |
| 120 | |
| 121 | func (q *Queries) CreateAuthor(ctx context.Context, name string) (Author, error) { |
| 122 | row := q.db.QueryRowContext(ctx, createAuthor, name) |
| 123 | var i Author |
| 124 | err := row.Scan(&i.AuthorID, &i.Name) |
| 125 | return i, err |
| 126 | } |
| 127 | |
| 128 | const createBook = `-- name: CreateBook :one |
| 129 | INSERT INTO books ( |
nothing calls this directly
no test coverage detected