the "c" object is short for "columns" (you can use either)

check out http://docs.sqlalchemy.org/en/rel_0_7/core/schema.html


On Sunday, September 1, 2013 8:27:12 PM UTC+3, Mohsen Pahlevanzadeh wrote:
>
> Dear all,
>
> Before apply code or writing code from a documentation, At first i test it 
> into test.py,
> Now ,I read the following doc:
> conjuctions in 
> sqlalchemy<http://docs.sqlalchemy.org/en/rel_0_8/core/tutorial.html#conjunctions>
>  
>
> I supposed users a class such as tables class:
> //////////////////////
> class users(declarative_base(bind=engine)):
>    
>     __tablename__ = 'users'; #    
>     id = Column(Integer,primary_key = True)
>     name = Column(String)
>     name_type = Column(Integer)
>     addresses = Column(String)
>     telephones = Column(String)
>     emails = Column(String)
> //////////////////
>
> But i didn't understand c variable. Object or otehr variable such :
> ///////////////
>
> addresses.c.email_address or users.c.id == addresses.c.user_id
> /////////////////
>
>
> If possible explain c object.
>
> --mohsen
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to