Search found 3 matches

Go to advanced search

by Cameron
Sun Jul 13, 2014 10:27 pm
Forum: Issues
Topic: Case Insensitive Database Query
Replies: 2
Views: 238
 
Jump to post

Case Insensitive Database Query

Thank you Yurii!

by Cameron
Sun Jul 13, 2014 9:35 pm
Forum: Issues
Topic: Case Insensitive Database Query
Replies: 2
Views: 238
 
Jump to post

Case Insensitive Database Query

Hi. I am trying to make a case insensitive database query. My current query is:

return '{"Product":"'+value+'"}';

I tried: return '{"Product":{"$regex":"value", "$options":"i"}}

with no success. Any help?

by Cameron
Tue Jun 17, 2014 1:14 am
Forum: Issues
Topic: Database returning "undefined"?
Replies: 1
Views: 207
 
Jump to post

Database returning "undefined"?

How do I stop the output from a database search from being undefined? My database works as long as the item being searched is in the database. If it isn't, the app returns "undefined." I would like it to say "The item was not found" but I don't know how. Anyone know how?

Go to advanced search