Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Model and like operator

$
0
0

I have the following code that I want to change a little

model.fetch({id: 'foo-42});

return model.attributes.content;

What I want to do is to retrieve all 'foo-' record (then execute select * from myTable where id like 'foo-%' ) Is it possible to do it so without breaking everything?

Thank you


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>