Hi !
Assuming this result:
n = session.query(xx).all()
How I can find the id 5 on the 'n' ?
something like that.:
v = n.get(5)
Thanks.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails
ch:None Grup:grp', Ent: 50' Sal: 10
> Imp:40.00)>
> >>> c.imp
> 40.0
> >>> sa.__version__
> ‘1.0.8'
>
>
> Have you tried printing out the things I suggested earlier?
>
> Simon
>
> > On 14 Oct 2015, at 08:58, Cecilio Ruiz <c
Everything works fine, add, modify, etc. But when I ask Caja.Imp. He says
he does not exist.
# Table definition - Caja
#
Caja_table = sa.Table("Caja", metadata,
sa.Column('id', sa.Integer, nullable=True, autoincrement=True,
primary_key=True),
sa.Column('Entidad', sa.String,
The error message says: : "AttributeError: 'Caja' object has no attribute
'imp'
Yes, is typo error en email. The imp attibute is lower case.
El martes, 13 de octubre de 2015, 23:01:34 (UTC+2), Simon King escribió:
>
> return "