Re: [SQLObject] StringCol() only saving 64k
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ma...> - 2004-03-02 09:55:57
|
On Tue, Mar 02, 2004 at 12:42:54AM -0600, Ian Bicking wrote: > On Mar 1, 2004, at 8:05 AM, David McNab wrote: > >I'm trying to save a fat wad of data in a StringCol column, but only > >the first 65536 chars are getting saved. > > > >Is this a MySQL restriction, or something in SQLObject? > > That's a MySQL restriction (I'd guess -- certainly not SQLObject). You > might have better luck with a BLOB column (as opposed to TEXT). Not neccessary. Just use MEDUIMTEXT, or LONGTEXT. Or MEDIUMBLOB or LOBGBLOB. But always look into docs. That 65535 bytes is described there. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |