Re: Converters for built-in types

Gerhard Häring <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Niki Spahiev wrote:
> Antonio Valente wrote:
>> However, maybe it would be better to cut off the size spec from data 
>> type, since I think nobody is interested in registering an adapter for 
>> something like "varchar(20)"...I could post a patch to do that, if you 
>> want...
> 
> Try connection.text_factory = ClassFactory

Even better ...

- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGWPTdIO4ozGCH14RAqRaAJsFpuXy3/blj9Lhcjv1LpXrXAmDfwCffQoO
9xdp1Ayavg5zn4pqjQ3ySGM=
=FCH/
-----END PGP SIGNATURE-----
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.