3 ms·
I've never met one of these that I'm truly in love this. This one looks like you don't use POD types, you use it's special types for the output of columns and
by looneysquash 11y ago
I've never met one of these that I'm truly in love this.
This one looks like you don't use POD types, you use it's special types for the output of columns and rows.
I don't even know how to solve these problems. Perhaps I want something not possible.
You have some struct that represents your table. You want to insert into the table. You try to fill out your struct, but wait, you don't have an "id" yet. And that "created" timestamp field should really be the "DEFAULT" keyword in the insert statement too!
Then you have select queries that don't return all of columns, or that call functions and return extra columns. Do you define a struct for each query by hand?