hibernate-style custom types are documented here:

http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/types.html?highlight=typeengine#custom-types

or you can use PickleType.


On Dec 15, 2008, at 12:07 PM, Joril wrote:

>
> Hi everyone!
> Is there a way to (declaratively) map a class so that one of its
> members is an array of strings?
> (As an example use-case, a User class with an array of her websites)
>
> With Hibernate I'd just register a custom persister that would
> serialize the array/list to a big varchar field, is there a way to do
> this with SQLA?
>
> Many thanks!
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to