[SERVER-29583] Create $_internalSchemaMinProperties and $_internalSchemaMaxProperties MatchExpressions Created: 12/Jun/17  Updated: 30/Oct/23  Resolved: 21/Jul/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.5.11

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Anne Lim
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Minor Change
Sprint: Query 2017-07-10, Query 2017-07-31
Participants:

 Description   
Proposed Syntax

Both MatchExpressions accept a positive integer.

{ $_internalSchemaMinProperties: <positiveInteger> }
{ $_internalSchemaMaxProperties: <positiveInteger> }

$_internalSchemaMinProperties ($_internalSchemaMaxProperties) matches an object which has no fewer than (no greater than) <positiveInteger> top-level fields.



 Comments   
Comment by Githook User [ 21/Jul/17 ]

Author:

{u'username': u'milennalim', u'name': u'Anne Lim', u'email': u'anne.lim@mongodb.com'}

Message: SERVER-29583: Create $_internalSchemaMinProperties and $_internalSchemaMaxProperties MatchExpressions
Branch: master
https://github.com/mongodb/mongo/commit/55753837a0445a4ec1d04df18ce821a86d4240d5

Comment by Kyle Suarez [ 20/Jul/17 ]

anne.lim, this last commit of yours seems to have reverted minProperties and maxProperties. Is there any reason for the change?

Because it looks like code has been deleted, I'm re-opening this ticket.

Comment by Githook User [ 20/Jul/17 ]

Author:

{u'username': u'milennalim', u'name': u'Anne Lim', u'email': u'anne.lim@mongodb.com'}

Message: SERVER-29583: Create $_internalSchemaMinProperties and $_internalSchemaMaxProperties MatchExpressions
Branch: master
https://github.com/mongodb/mongo/commit/1eb0fa4330042ce6c8f424f8a24ddd298ac9f5bc

Comment by Githook User [ 19/Jul/17 ]

Author:

{u'name': u'Anne Lim', u'email': u'anne.lim@mongodb.com'}

Message: SERVER-29583: Create $_internalSchemaMinProperties and $_internalSchemaMaxProperties MatchExpressions
Branch: master
https://github.com/mongodb/mongo/commit/634435949c4b855b9cc5bfbf5cf481d8158fd996

Generated at Thu Feb 08 04:21:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.