Replies: 1 comment
-
You're doing it right. You do need to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I was wondering whats the best way to split the database code into multiple files.
I'm currently doing it like this:
and then using it somewhere else by doing:
am I doing this right? It feels a bit odd that I have to
import SqliteDialect.*
in every file, since it also compiles fine if I mismatch those dialects. I.e. if one of the files imports sqlite and the other postgres, for example.Kind regards,
Felix
Beta Was this translation helpful? Give feedback.
All reactions