Comment 3 for bug 401786

Revision history for this message
Eric Casteleijn (thisfred) wrote :

Stuart and I discussed this briefly, and I was opposed to implicitly creating views in the database, on the grounds that we may be hiding too much of how couchdb works from the client app developers (also in this case we may be overwriting handcrafted views that the application developer prefers.) Having said that, I'm all for convenience, so how about a compromise:

def get_records_of_type(self, record_type, create_view=False):

I think we do a similar thing already for the database object.