loopback ilike code example
Example 1: loopback install
npm install -g loopback-cli
Example 2: loopback hasone
"relations": {
"supplier_acct": {
"type": "hasOne",
...
}
...
}
Example 3: loopback where between
filter[where][price][between][0]=0&filter[where][price][between][1]=7
...
Shirts.find({where: {size: {between: [0,7]}}}, function (err, posts) { ... } )
Example 4: loopback ilike
Post.find({where: {title: {ilike: 'm.-st'}}},
function (err, posts) { ... });