How can I force the [csv] bulkloader to create entities with 'None'
property values if the relevent bulk data field is empty, as opposed
to assuming the entity model property is missing ?

I've tried

- using 'import_transform: transform.none_if_empty(str)' in
bulkloader.yaml
- using 'db.StringProperty(default=None)' in the model definition

Neither of which seems to work; what I find is

- empty fields appear as blanks in the dev_appserver datastore viewer
[if I put a model to the datastore with an explicity 'None' field via
the interactive console, it appears as 'None']
- I can't query the empty fields using Query.filter("field = ", None)
[the filter just gets ignored]

Thank you.


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to