2 ms·
> write SQL queries manually, and then auto-convert the results to/from regular objects. In any meaningul sized codebase, converting to/from objects will be us
by orangepanda 5y ago
> write SQL queries manually, and then auto-convert the results to/from regular objects.
In any meaningul sized codebase, converting to/from objects will be used all over the place. Then someone adds an abstraction on top, and congratulations - there is now an inhouse orm.
- systemvoltage 5y agoThat's not the same thing as ORM. ORM constructs queries based on arbitrarily complex request. Abstraction layers that we add on top of existing 'handcrafted' SQL queries is often expected and necessary. With base foundation rock solid, explicit and unchanging – you can build abstractions safely and with peace.