diff options
author | Jason Kirtland <jek@discorporate.us> | 2007-05-02 01:00:03 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2007-05-02 01:00:03 +0000 |
commit | 0d0094fe3842bd1996f50f4b51d0b6ab856556e3 (patch) | |
tree | 319c32fbb44330a922829fe4a7381e09e3580d0d /lib/sqlalchemy/databases/mysql.py | |
parent | d03b5327b778434884b1884c28173e24f08ade61 (diff) | |
download | sqlalchemy-0d0094fe3842bd1996f50f4b51d0b6ab856556e3.tar.gz |
- Expanded on the MySQL ENUM 'strict' documentation a little bit.
- Oops, clean up after enum unitttest.
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index d7f65b80b..9154d03d8 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -283,7 +283,10 @@ class MSEnum(MSString): strict Defaults to False: ensure that a given value is in this ENUM's - range of permissible value when inserting or updating rows. + range of permissible values when inserting or updating rows. + Note that MySQL will not raise a fatal error if you attempt to + store an out of range value- an alternate value will be stored + instead. (See MySQL ENUM documentation.) charset Defaults to None: a column-level character set for this string |