Open djvs opened 8 years ago
Just do a $find(1) bruh
You cannot use $find without any parameter, $find is mapped to GET call of REST API. REST GET call need id of a single record and returns that specific record. It is little late but if you still are wondering answer of this question.
I want to do a $find() with no arguments - the server is only going to return one record to begin with. I'm a little new to the library and find myself writing .mix.. $extend.. Scope..$find, but don't know how to fill in the $find method (if it's appropriate to use a $super or not), or if there's a better way to do this. The docs are a little ambiguous on custom methods. Can anyone help with this?