self reference with IS_IN_DB pointing to self

Field('parent', 'reference mytable', requires =
IS_EMPTY_OR(IS_IN_DB(db,'mytable.id','%(name)s'))),

this does not work any more


On Dec 18, 8:38 pm, mdipierro <[email protected]> wrote:
> This is a major - major release mostly because it includes the new
> DAL.
>
> It is supposed to be 100% backward compatible but cleaner, and more
> readable. We have fixed every known issue.  If 1.90.1 breaks you DAL
> queries, please report it asap so that it can be addressed sooner.
>
> It also includes a lot of new features as described below.
>
> Changelog 1.90.1:
>
> - new DAL (complete rewrite of the web2py DAL is more modular)
> - rewrite has fail safe reload, thanks Jonathan
> - better CAS with v2 support, thanks Olivier ROCH VILATO
> - better markmin2latex
> - session.connect(separate=True) to handle many session files, thanks
> huaiyu wang
> - changed bahvior of impersonate (more secure, can generate form or
> used as API)
> - new rocket, thanks Tim
> - new pyfpdf
> - no more old style classes (we did some cleanup in the past sbut we
> had missed a few).
> - experimental couchdb support in new dal (only insert, select, update
> by id)
> - mysql support out of the box via pymysql
> - SQLITABLE(...,headers='labels') thanks Bruno
> - optional: digitally signed URLs, thanks Brian Meredyk
> - minor bug fixes

Reply via email to