0

I want to retrieve a profile from GQL based on their last name which is input from the web form that the person has gone through. Since the last name that they put in can be in any case(lower or upper) , I want to convert that last name to a particular case in my GQL query to Google Cloud datastore.

the code below is what's already existing right now , but seems like 'this.kind' makes the query case sensitive and hence returns 'profile not found' whenever the cases differ

this.ds
      .createQuery(this.kind)
      .filter('last_name', '=', lastName);