I made a simple login page with python
and datastore
. the User model is the following.
class User(db.Model):
name = db.StringProperty()
password = db.StringProperty()
Question 1:
Lets say that I know the name and the password of a specific user. How can I delete that entity from the database that has the specified name and password properties?
Question 2:
Lets say that I have a User entity with "John" as the name and "1234" as the password. Given these 2 things, how can I change the name property "John" to "Marcus"?
Question 3:
Is it possible to achieve this without using GqlQuery
?