in my app that im designing for GAE, i want, shall we say an omni search bar.
as i understand how datastore stores records, its basically a hashmap of hashmaps. so i have a key, then something that would look (for conceptional simplicity) a string that would be a JSON return for a value.
in relational DB world, if i wanted to search first and last name at the same time i would have to have something like this
select * from user where user.firstname like 'bob' or user.lastname like 'bob'
with datastore, can i do something like
select from user where user.anyfield like 'bob'
and it would search all the fields of the user entity automatically returning any record where either user.firstname and/or user.lastname was like 'bob'?
or
nor alike
. There are suitable workarounds for both - stackoverflow.com/questions/930966/…, stackoverflow.com/q/47786/70492, respectively. – hyperslug