|
|
|
|
|
by s6af7ygt
600 days ago
|
|
I don't get why to use an ORM in the first place. Just define a bunch of structs, run a query, map results to structs. It's a few lines of simple code. You're in control of everything (the SQL, the running, the mapping). It's transparent. With any ORM, you give away control and make everything more complex, only to make it slightly easier to run a query and map some results. |
|
Congrats, you now have your own little ORM.