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: Tue May 14 14:24:08 CEST 2024
Total time taken to generate the page: 0.02430 seconds
|