Home » U++ Library support » U++ SQL » SQL*, SQL&, SQL*:: ???
SQL*, SQL&, SQL*:: ??? [message #11297] |
Sat, 01 September 2007 21:34 |
jeremyc
Messages: 4 Registered: August 2007
|
Junior Member |
|
|
I do not understand all of these that I see in code. Can someone tell me the difference between:
SQL * Select(...);
SQL & Select(...);
SQL * ::Select(...);
I've seen it in example code all three ways. Maybe more.
Thanks,
Jeremy
|
|
|
|
Re: SQL*, SQL&, SQL*:: ??? [message #19339 is a reply to message #11306] |
Thu, 27 November 2008 19:21 |
|
I have seen similar use in HomeBudget.
But there it was ::Update.
Incidentally, all want more examples on databases and SQL.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
Re: SQL*, SQL&, SQL*:: ??? [message #19341 is a reply to message #19339] |
Thu, 27 November 2008 20:19 |
|
sergeynikitin wrote on Thu, 27 November 2008 13:21 | I have seen similar use in HomeBudget.
But there it was ::Update.
Incidentally, all want more examples on databases and SQL.
|
:: Is not necessary, it is even wrong as all upp functions belogns to Upp namespace.
I often had in my apps Update method in which I had SQL * ::Update. Without scope selector I would have names conflict. I still use :: instead of UPP:: because it's shorter.
|
|
|
|
Goto Forum:
Current Time: Wed May 08 08:00:28 CEST 2024
Total time taken to generate the page: 0.01927 seconds
|