Re: [tryton] SQL statement for searcher function

2014-06-27 Thread Sergi Almacellas Abellana
El 27/06/14 18:03, Mark Hayden ha escrit: Hi all, I have a function field where I need to write a searcher function that must do a search that cannot be expressed in a domain. The docs say that a SQL statement can be specified in the operand but I could not find anywhere an example of this

Re: [tryton] SQL statement for searcher function

2014-06-27 Thread Mark Hayden
Thanks this helps a lot. Glad to see it can accept the python-sql object rather than a string as I don't want to tack together a string and deal with SQL injection etc. myself.