I'm trying to stop duplicates of a database entity called "Post" in my program. In order to do this I want to append a number like "1" or "2" next to it. In other words:
helloworld
helloworld1
helloworld2
In order to do this I need to query the database for postid
's starting with helloworld
. I read that GQL doesn't support the LIKE
operation, so what can I do instead?
Thanks!