Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Syntactic sugar
Syntactic sugar [message #18767] Mon, 20 October 2008 14:22 Go to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

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?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: linking error trying to compile SQL_MySql demo on linux fedora 9
Next Topic: SQL*, SQL&, SQL*:: ???
Goto Forum:
  


Current Time: Tue May 14 14:24:08 CEST 2024

Total time taken to generate the page: 0.02430 seconds