SQL ALL & ANY operators - ?

45 views
Skip to first unread message

Vlad

unread,
May 20, 2019, 6:44:13 AM5/20/19
to web2py-users
Does Web2py / DAL have an equivalent of ALL and ANY SQL operators? 

Константин Комков

unread,
May 22, 2019, 9:15:05 AM5/22/19
to web2py-users

João Matos

unread,
May 22, 2019, 11:50:49 AM5/22/19
to web2py-users
That ALL (http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#_lastsql) is web2py specific and has nothing to do with the ALL that Vlad is asking.

Leonel Câmara

unread,
May 22, 2019, 11:59:22 AM5/22/19
to web2py-users
No. But you can use belongs to do the same thing.

Eliezer (Vlad) Tseytkin

unread,
May 22, 2019, 12:31:57 PM5/22/19
to web...@googlegroups.com
Yeah, I was just hoping for some extra convenience :)
Thank you! 

On Wed, May 22, 2019, 11:59 AM Leonel Câmara <leonel...@gmail.com> wrote:
No. But you can use belongs to do the same thing.

--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/K4TnLVqdrz4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/cc1e6bc7-769b-4735-997d-200768467371%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eliezer (Vlad) Tseytkin

unread,
May 22, 2019, 12:32:47 PM5/22/19
to web...@googlegroups.com

On Wed, May 22, 2019, 9:15 AM Константин Комков <firean...@gmail.com> wrote:
--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/K4TnLVqdrz4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages