On 10 March 2015 at 01:51, Val K <valq7...@gmail.com> wrote:
> It's no problem while INSERT into TABLE, but not for VIEW > "If you want to support RETURNING queries on the view, you need to make > the rules include RETURNING clauses that compute the view rows. This is > usually pretty trivial for views on a single table, but it's a bit tedious > for join views > <http://www.postgresql.org/docs/current/interactive/rules-update.html>" > RETURNING from join view looks like this: > In this case I would just use raw sql and not DAL' s insert. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.