Created
March 6, 2015 02:16
-
-
Save codenamejason/839ccd5500c342d08213 to your computer and use it in GitHub Desktop.
AngularJS for Loopback ad-hoc queries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scope.products = MyProduct.find({ | |
filter: { | |
where: {price: {lt: 100}}, | |
order: 'price ASC', | |
limit: 3 | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment