Skip to content

Combine _id and _in #8

@FreePhoenix888

Description

@FreePhoenix888

Query I have now

{
  _or: [
    {
      id: {
        _id: [
          "@deep-foundation/core",
          "dockerSupportsJs"
        ]
      }
    },
    {
      id: {
        _id: [
          "@deep-foundation/core",
          "Any"
        ]
      }
    },
  ]
}

Question

Is it possible to make this query smaller by combining _id and _in?

Example How I see It

{
    id: {
      _id: {
        _in: [
          [
            "@deep-foundation/core",
            "dockerSupportsJs"
          ],
          [
            "@deep-foundation/core",
            "Any"
          ]
        ]
      }
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions