$fetch from SQLite

Josua Riha riha at bnitm.de
Tue Aug 5 04:10:03 EDT 2014

Good morning,

I've noticed that if I $fetch a result set from a SQLite Database into
an undefined list the columns seem to have the wrong data lengths.

Since SQLite has no length for the data type "TEXT" omnis sets the
lenght of the character fields to 0 which makes the fields unusuable.

It works if I use a schema class for it, but since I want to use a
dynamic column selection I would prefer not to create one for each
possible combination of columns.

Does anyone has an idea to fix that?


More information about the omnisdev-en mailing list