Re: [Cppcms-users] Suggestion: accessing invalid column should show name
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-06-14 23:11:26
|
> I guess you are trying to get a coloumn by its name? Try to get it via > its position instead. As I posted some times ago, never use SELECT * ! > If you do so, you can define the order of the coloums and get them via > the position. Also it's faster. > For you problem: Yes I know however my app generates tables and while the column order is usually preserved it's not always the case. The other problem was some tables have a lot of columns > 20. Accessing them by index sbecomes a pain especially when its still under development and things change. Petr |