I know the difference between DateProperty and DateTimeProperty
difference between DateProperty and DateTimeProperty
I also appreciate how I could maintain my Schema (particularly missing values for properties) with tasks
https://stackoverflow.com/a/2019882/1175496
But I have a Model with date_filed=db.DateProperty
I find I almost always want the (time) accuracy of db.DateTimeProperty
How can I convert this field from DateTime
to DateTimeProperty
?
My questions are:
- How to do it
- ie simply change from
date_filed=db.DateProperty
todate_filed=db.DateTimeProperty
- ie simply change from
- Will it somehow update existing entities automatically?
- ie or must I create a task to change them?
- If entities with have different types for same properties, how does filtering and ordering on that property work?
- ie DateProperty to a datetime.datetime value
- ie
When a query involves a property with values of mixed types, the Datastore uses a deterministic ordering based on the internal representations: ...
- Fixed-point numbers
- Integers
- Dates and times
- What are some outcomes / pitfalls
- ie Validation Errors