python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to use gomock with sqlc
I'd like to write unit tests for functions generated by sqlc but I don't understand how to use gomock. I'm new to mocking.
Below I'll describe a bit how sqlc generation works.
So, sqlc generates an in...
Vsevolod Molchanov
Votes: 0
Answers: 0
Return values consisting of the set in Posgresql
I use https://github.com/kyleconroy/sqlc to generate code. I want to return human_id using the group_id array.
-- name: HumansByGroupID :many
SELECT human_id FROM groups
WHERE group_id IN (UNNEST($1::...
Nakem1
Votes: 0
Answers: 1