Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed example code in docs/en/topics/datamodel.md.

  • Loading branch information...
commit 6adc39e289cfa6977bd9ae7895e3680be4c7ac02 1 parent eb82094
jakr jakr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/en/topics/datamodel.md
2  docs/en/topics/datamodel.md
View
@@ -262,7 +262,7 @@ other words, it will return all administrators.
:::php
$members = Member::get()->filter(array(
- 'Groups.Permissions.Code' => 'ADMIN',
+ 'Groups.Permissions.Code:ExactMatch' => 'ADMIN',
));
Note that we are just joining these tables to filter the records. Even if a member is in more than 1 administrator
Please sign in to comment.
Something went wrong with that request. Please try again.