djangos' ORM itself could be built on top of SQLAlchemy.  i bet if  
someone ported it, it would catch on pretty quick.

but anyway, no, SA itself doesnt get into this.   it prefers a  
"pluggable" architecture so that if someone built a validation layer,  
that would be an optional extension you could use with it.

in short, if this is an effort youre looking to make, we'd be glad to  
have it as an option for people looking for that sort of thing.   
theres several places in SA such a feature could be tacked onto,  
either within the ORM attribute instrumentation, or within TypeEngine  
objects, etc. (well ok, probably just those two).

On Jul 22, 2006, at 6:55 AM, Viktor Kerkez wrote:

> I've just looked at SqlAlchemy, and liked it, but I'm curious if there
> is any concept of validators and manipulators similar to those found
> in Django's ORM, or I have to roll my own?
>
> For those not familiar with Django, for every column type Django have
> predefined validators, also you can define your own and add them to
> the validators list. Manipulators (simplified) take a mapped object,
> validate every column and save it, update it or return an appropriate
> error message...
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys -- and earn  
> cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Sqlalchemy-users mailing list
> Sqlalchemy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to