Groups
Groups
Sign in
Groups
Groups
NotORM
Conversations
About
Send feedback
Help
How to write multiple "IN"?
55 views
Skip to first unread message
Schmutzka
unread,
Sep 29, 2011, 1:06:43 AM
9/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to not...@googlegroups.com
One "IN" is: table("owner",$array);
But what about two?
I tried with no effect:
table("owner IN ? AND friend IN ?",$array,$array2);
apfelbox
unread,
Sep 29, 2011, 3:54:01 AM
9/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NotORM
Hi,
try it this way:
$notorm->table->where("owner", $array)->where("friend", $array2);
Cheers
Jannik
Tomáš Votruba
unread,
Sep 29, 2011, 6:06:51 AM
9/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to not...@googlegroups.com
Works perfectly, thanks a lot!
Tomas
Tuan Anh
unread,
Mar 13, 2015, 12:27:21 AM
3/13/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to not...@googlegroups.com, zsch...@googlemail.com
perfectly, helpful for me
Reply all
Reply to author
Forward
0 new messages