Using raw sql in table query

42 views
Skip to first unread message

Markus Bala

unread,
Feb 16, 2016, 2:14:20 AM2/16/16
to tryton-dev
Hi,

Is it posible to use Raw Sql in table_query()?
Or how to convert execute sql to active record?

Best regard

Cédric Krier

unread,
Feb 16, 2016, 3:40:03 AM2/16/16
to tryton-dev
On 2016-02-15 23:14, Markus Bala wrote:
> Hi,
>
> Is it posible to use Raw Sql in table_query()?

Yes but it must be written using python-sql [1]

[1] https://pypi.python.org/pypi/python-sql
--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
Reply all
Reply to author
Forward
0 new messages