Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch inverse hasOne #167

Open
dtelaroli opened this issue Mar 14, 2015 · 0 comments
Open

Fetch inverse hasOne #167

dtelaroli opened this issue Mar 14, 2015 · 0 comments

Comments

@dtelaroli
Copy link

How to fetch inverse hasOne relationship?
This feature exists?
A workaround?
Can be implemented?

List
Share
Share.hasOne('list', List)

List.load(id, function(list) {
   list.share //returns object if exists or null if not exists
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant