[storm] Type checking

Gerdus van Zyl gerdusvanzyl at gmail.com
Sun Feb 15 16:27:10 GMT 2009


Last time I brought up adding meta data (e.g. field size) and
validation based on that the answer was basically that the core devs
don't like it because of philosophical differences as in meta data
belongs in the database and type conversion is not the job of Storm,
etc. Which is a valid way of looking at things but isn't what most
users outside canonical want. But still storm is the best orm i have
tried :-)

~Gerdus

On Sun, Feb 15, 2009 at 5:21 PM, Vernon Cole <vernondcole at gmail.com> wrote:
> It shows how little I have actually used storm, and different database api
> engines, that I am surprised at this request. Adodbapi spends a lot of code
> doing conversions like this internally, so does the pywin32 COM interface
> that adodbapi calls. Even then I wish for better.
>   IMHO an interface that runs on the level of storm should accept almost
> anything and do the work of encoding it into the format the database wants.
> If a unicode string can be interpreted as a number, it should be acceptable
> for a numeric field. Van Zyl's examples ought to be part of the interface.
>   Are we talking about storm version 2 here?
> --
> Vernon Cole



More information about the storm mailing list