Home » U++ Library support » U++ SQL » Syntactic sugar
Syntactic sugar [message #18767] |
Mon, 20 October 2008 14:22  |
|
I think it would be nice to add to SqlId interface overloaded [] operator:
SqlCol operator [] (const SqlId& id) const;
which let us to write
Select(ID, CUSTOMER[NAME], PRODUCT[QUANTITY])...
insead of
Select(ID, NAME.Of(CUSTOMER), QUANTITY.Of(PRODUCT))...
What do you think?
|
|
|
Goto Forum:
Current Time: Mon Jun 23 16:08:07 CEST 2025
Total time taken to generate the page: 0.05298 seconds
|