Re: How to catch integer 64 bit return variable type
- Posted by D. Darmawan <skeydon_id at yahoo.co.id> Jun 12, 2007
- 657 views
ChrisBurch2 wrote: > > Hi > > This is interesting. > > Are you using the sqlite3 wrappers? > Are you trying to get a large signed integer from a database query, or as > a return value from one of the other functions? Yes Chris, I'm using sqlite3 wrapper, and the problem was occurred when I'm trying to get a large signed integer in one numeric field from a database query > The reason I ask is that database queries are returned as text values in > sqlite3, > so you have to do the conversion afterwards. Really??? FYI, I performed sqlite_step and sqlite_column_int that will return an integer value from certain field. I think what you're talking about sqlite_get_table function. Yes, I know that function will return text value and we can pointing it out with data[row][col] in sequence format. But it's memory greedy while it's returning a huge rowset. > However, if you are using functions not yet wrapped in eusqlite3, and you do > manage to wrap them, I would be more than happy to add them to eusqlite3 > library. > > Chris I'd love too, Chris. That is a great idea. Ability to returning value in big integer from some functions may be placed in first priority, I think. And then, making some functions for handling query function customization is a good idea (I've written this one in my modified eusqlite3 wrapper). Regards, Doni