publicQueryForAuthor static method
EliudQuery
publicQueryForAuthor(
- String authorId,
- String feedId
)
Implementation
static EliudQuery publicQueryForAuthor(String authorId, String feedId) {
return EliudQuery()
.withCondition(EliudQueryCondition('archived',
isEqualTo: PostArchiveStatus.active.index))
.withCondition(EliudQueryCondition('authorId', isEqualTo: authorId))
.withCondition(EliudQueryCondition('feedId', isEqualTo: feedId))
.withCondition(
EliudQueryCondition('readAccess', arrayContainsAny: ['PUBLIC']));
}