edvin
08/12/2016, 6:32 AMvalue-that-returns-nullable
and another value-that-returns-non-null
for more convenient usage. What would I call these two?edvin
08/12/2016, 6:32 AMp.name.valueNotNull
and p.name.value
.. but the first is too verbose. Any suggestions?edvin
08/12/2016, 6:38 AMinvoke
operator function to column, so you can write p.name()
to get a non-null version and p.name.value
to get the nullable version. Bad symmetry, but very nice and short.edvin
08/12/2016, 11:27 AMedvin
08/12/2016, 1:41 PMedvin
08/12/2016, 1:42 PMedvin
08/12/2016, 1:46 PMedvin
08/12/2016, 3:28 PMall
, getById
etc. Will post an example soon.Ruckus
08/12/2016, 3:41 PMedvin
08/12/2016, 3:53 PMedvin
08/12/2016, 3:54 PMedvin
08/12/2016, 3:56 PMedvin
08/12/2016, 3:56 PMedvin
08/12/2016, 5:15 PMedvin
08/12/2016, 8:18 PMfellshard
08/12/2016, 8:24 PMedvin
08/12/2016, 8:25 PMedvin
08/12/2016, 8:26 PMedvin
08/12/2016, 8:38 PMDataSource
as a Connection
without even thinking about it 🙂edvin
08/12/2016, 8:41 PMedvin
08/12/2016, 8:58 PMfellshard
08/12/2016, 8:59 PMfellshard
08/12/2016, 8:59 PMedvin
08/12/2016, 9:03 PMWHENEVER
is just a matter of implementing the Expr class and adding an extension function, so everybody can do it themselves, or submit a PR to add it to core. I think it is OK that we have keywords available that might not work with your SQL dialect. If so, just don't use it 🙂fellshard
08/12/2016, 9:12 PMedvin
08/12/2016, 9:18 PMfellshard
08/12/2016, 9:19 PMfellshard
08/12/2016, 9:19 PMedvin
08/12/2016, 9:20 PM