Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Add support for $type operator for casting/checking

#5

See the MongoDB docs for the $type operator

Reported by Brendan W. McAdams · July 28th, 2010 @ 12:39 PM

State: open
Milestone: 1.1
Assigned to: Brendan W. McAdams Brendan W. McAdams

Activity

  1. Brendan W. McAdams
    Brendan W. McAdams
    • Tag changed from query-dsl enhancement to enhancement, query-dsl

    July 28th, 2010 @ 12:45 PM

  2. Brendan W. McAdams
    Brendan W. McAdams
    • State changed from new to open

    It probably makes the most sense to support two possible modes:

    "foo" $type BSON.DOUBLE

    and, for a more idiomatic approach that is close to scala:

    "foo" $type[Double]

    The possibly types would be chosen from "Close matches in Scala" - obviously not a 1-1 but shorthand for looking at data.

    August 3rd, 2010 @ 03:48 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.