This is my gql code:
data = db.GqlQuery("SELECT * FROM Playlist " + "WHERE tags = :1" + "ORDER BY :2", tag, order)
and I get this error:
BadQueryError: Parse Error: Expected no additional symbols at symbol BY
Does anyone know what I am doing wrong?
thanks for the help J
You seem to be concatenating the GQL string for some unknown reason and have missed a space. Try:
data = db.GqlQuery("SELECT * FROM Playlist WHERE tags = :1 ORDER BY :2", tag, order)
You're missing a space before ORDER.
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