On Aug 7, 2011, at 8:19 AM, Krishnakant Mane wrote: > Hello all. > This might be interesting. > I don't know if we are doing some thing wrong. > We use session.query on a table and for adding records we use the orm. > But look at the forwarded email, I don't know what's wrong. > happy hacking.
you'd need to know what happens when someone enters "A & B". If for example you're calling eval() on that or something, "&" is a Python operator. > Krishnakant. > > > > > -------- Original Message -------- > Subject: [Gnukhata-devel] not able to put & in account name field > Date: Sun, 7 Aug 2011 17:35:51 +0530 > From: ankita shanbhag <[email protected]> > To: gnukhata dev <[email protected]> > > Hello All, > > This may sound silly but entering & in account field eg "A & B" can > cause difficulty in retrival of that account from database. > > I tried to query the Account table using postgres and its able to > fetch record properly. > > I feel its a problem of SqlAlchemy.I am afraid if we want '&' then we > have to look through rpc_account.py specially getAccount!! > > Thanking you. > > > -- > "FOSS is not just about coding..its more of collaborative project management" > > ---- > ankita shanbhag > _______________________________________________ > Gnukhata-devel mailing list > [email protected] > http://lists.cis-india.org/mailman/listinfo/gnukhata-devel > > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sqlalchemy?hl=en. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
