| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Chris Frey | Date: | April 25 2005 7:24pm |
| Subject: | Re: Count( ) function | ||
| View as plain text | |||
On Mon, Apr 25, 2005 at 11:45:49AM -0300, Nicolas Barrera wrote: > hi i m having the following problem... > i 'm starting a query with the count(*) function.... > like: select aFieldName, count(*) as cant ........ ; > > the thing is that i m doing a type check when i got the Result object... > > with, result.types(j).base_type() == typeid(std::string) > and with resultado.types(j).base_type() == typeid(int) You could try printing the base_type to see what it is. - Chris
| Thread | ||
|---|---|---|
| • Count( ) function | Nicolas Barrera | 25 Apr |
| • Re: Count( ) function | Chris Frey | 25 Apr |
| • Re: Count( ) function | Chris Frey | 3 May |
| • Re: Count( ) function | Nicolas Barrera | 3 May |
| • Re: Count( ) function | Earl Miles | 3 May |
| • Re: Count( ) function | Nicolas Barrera | 3 May |
| • Re: Count( ) function | Warren Young | 4 May |
