| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | June 28 2005 11:59pm |
| Subject: | Re: field_num("pippo") = ???????? | ||
| View as plain text | |||
Paoletti Vincenzo wrote: > First,the field "pippo" doesn't exist, > the value of result.field_num("pippo") is == result.columns() and the sys doesn't > throw exception I can make field_num throw a BadFieldName exception in this case. But field_num() is mostly an internal-use function, so it should never fail. Perhaps there is a better way to get the information you want from MySQL++ that is safer. Is Row::lookup_by_name() suitable, for instance?
| Thread | ||
|---|---|---|
| • field_num("pippo") = ???????? | Paoletti Vincenzo | 28 Jun |
| • Re: field_num("pippo") = ???????? | Warren Young | 29 Jun |
