Permalink
Browse files

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

  • Loading branch information...
1 parent eb82094 commit 6adc39e289cfa6977bd9ae7895e3680be4c7ac02 @jakr jakr committed Aug 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/en/topics/datamodel.md
View
2 docs/en/topics/datamodel.md
@@ -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

0 comments on commit 6adc39e

Please sign in to comment.