3 ms·
First thought that came to mind was to just blow away the database and create a new one, see how long that takes. I had found waterline's load time to have a L
by voiper1 10y ago
First thought that came to mind was to just blow away the database and create a new one, see how long that takes.
I had found waterline's load time to have a LOT of things that I hadn't expected and take a long time... I'm just using knex now. Every time I try for magical solutions, I keep regretting it and end up using less magic.
- jdmichal 10y agoMagic is fine, but there should always be a path to do things sans pixie dust. For something like an ORM, that would be a path to retrieve the raw DB connection to do things around / between queries. You even see the same pattern play out in programming languages; C# has the `dynamic` keyword that disables type checking on a variable.