You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @nguyendangminh, you can do this already. Use boil.SetDB(db), and then you can use the G variant of the functions (like models.PilotsG() for example). The G variant do not take a db as a first parameter and use the global. See here: https://github.com/vattle/sqlboiler#function-variations
Hi,
The db object is passed repetitively, for example:
Why we don't just pass the db object to the models package as a configuration?
The text was updated successfully, but these errors were encountered: