-
Hi, is it possible to mock more than simple selects/inserts/updates? Basically i would like to test a query that uses Do i just add models for each table that is part of the query with Is there a way add data once and not the mocks for multiple calls? |
Beta Was this translation helpful? Give feedback.
Answered by
cemoktra
Jan 12, 2022
Replies: 1 comment 4 replies
-
It seems i will need special mocking structs for the join, cause |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
cemoktra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems i will need special mocking structs for the join, cause
try_get
looks for anA_id
but in my struct i have anid