It must know about field name at least, as it allows indexing of the row by field name, so there must be a name map some where.
I'll look at extending it and submit some patches. On 19 Aug 2008, at 20:17, Tommi Mäkitalo wrote: > Am Dienstag 19 August 2008 21:10:35 schrieb Tim Hawkins: >> In tntdb there does not appear to be a documented way of retrieving >> the field-name or type/size of a column, >> i'm trying to write a serialise function for a row, and i cant see >> how >> to get the table meta data. >> >> Any ideas? >> >> > Hi, > > you are right. There is actually no support for metadata. Tntdb > assumes, that > you know, what to fetch. > > If there is really need for it, it is sure possible to implement > that. One > problem is, that there are actually so many different column types > out there > and it is somewhat difficult to define a generic way to return the > types. > > Tommi > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Tntnet-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tntnet-general ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
