How do I use the filtered function to make a case insensitive search?
var query = 'david';
var filteredNames = names.filtered('name == $0', query);
This only returns results where name is 'david', not 'David'.
Case insensitive search is supported as of v0.11.0. To search case insensitive you append [c] to your operator eg:
name ==[c] 'jerry'
name BEGINSWITH[c] 'a'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With