You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/11/09 00:27:16 UTC

[GitHub] tonysun83 edited a comment on issue #1718: Perform explicit $exists:false on Index validation

tonysun83 edited a comment on issue #1718: Perform explicit $exists:false on Index validation
URL: https://github.com/apache/couchdb/pull/1718#issuecomment-437206064
 
 
   Instead of having an extra list, perhaps you can convert `RequiredFields` to be a tuple list:
   [{"field", false}, {"field1", false}....]. Then instead of removing it, you tag it with `true`.
   When it see `$exists:false`, you tag it with `exists_field` or something and then that can't be changed if the field shows up again later on.
   
   At the top, you just check for all `true`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services