Relationship between two users : scope


#1

Error: query.where(…).orWhere is not a function


#2

Works fine for me. Can you share the complete error stack? Also it will be nice if you can share a repo to reproduce the issue


#3

Screenshot_1
the error occurs because I’m using mongodb, thanks Virk… now it works :blush: