Converters for built-in types

"Antonio Valente" <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Hi, all, I'm an italian (and quite happy, until today) pysqlite2 user, so,
please don't look at my bad english...

I have a problem with pysqlite2: I need to use a custom data type for
"varchar" columns. I tried to register a converter but it didn't work.
Looking at the sources, I discovered that if I have, for example
"varchar(20)", the converter getter tries to get a function for the
"varchar(20)" key, that's of course not what I needed...
How can I do? By now, I changed the source file to cut the key at the first
"(" or space character, but of course this is only a temporary solution.
I hope you help me

Best regards,
Antonio

_______________________________________________
pysqlite mailing list
pysqlite-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/pysqlite
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.