What do you want to change?
group by query filenames
// grouped by query file
type Querier interface {
// property.sql
UpdateProperty(ctx context.Context, arg UpdatePropertyParams) (sql.Result, error)
SaveProperty(ctx context.Context, arg SavePropertyParams) error
// user.sql
SaveUser(ctx context.Context, arg SaveUserParams) error
// asset.sql
SaveAsset(ctx context.Context, arg SaveAssetParams) error
UpdateAsset(ctx context.Context, arg UpdateAssetParams) (sql.Result, error)
}
group by tags in query annotations
-- name: UpdateProperty :execresult group:Property
Update properties SET `value` = ? WHERE `key` = ?;
type Querier interface {
// Property
UpdateProperty(ctx context.Context, arg UpdatePropertyParams) (sql.Result, error)
}
What database engines need to be changed?
MySQL
What programming language backends need to be changed?
Go
What do you want to change?
group by query filenames
group by tags in query annotations
What database engines need to be changed?
MySQL
What programming language backends need to be changed?
Go