mysql-serialize.rb
Path: mysql-serialize.rb
Modified: Tue Mar 09 22:30:10 CET 2004

MySQLSerializable

Author:Anders Borch
Copyright:Copyright © 2003 Anders Borch
License:LGPL

Our mysql database specific module implements escaping methods and ddl methods that are database specific. This version depends on MySQL 4.x InnoDB to function. InnoDB foreign key constraints are heavily used to maintain data integrity. Sometime in the future I might consider writing the recursive delete code needed to support the lower versions of MySQL, but as time passes, fewer and fewer MySQL installations without InnoDB support will exist and the need for the code that supports those installations will diminish.

Known issues with MySQL serialization:If primary keys are strings they cannot be more than 255 bytes long.

If class and instance variable names cannot exeed 255 chars in length.

Required files
sql-serialize   
Classes and Modules
Module MySQLSerializable