#5 open
Brendan W. McAdams

Add support for $type operator for casting/checking

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

See the MongoDB docs for the $type operator

Comments and changes to this ticket

  • Brendan W. McAdams

    Brendan W. McAdams July 28th, 2010 @ 12:45 PM

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

    Brendan W. McAdams August 3rd, 2010 @ 03:48 PM

    • 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.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Formerly known as "mongo-scala-wrappers". A series of wrappers and DSL-like functionality for utilizing MongoDB from within Scala. This currently utilises the very Java-oriented Mongo Java driver, and attempts to provide more scala-like functionality on top of it. The current (latest) version has been tested against MongoDB 1.4.x, with the 2.0 Java Driver (not all 2.0 driver features are wired in yet, as development began against 1.x). Your Mileage May Vary. See the docs and test classes for information on best practices and functionality. This work is open sourced by Novus Partners, Inc. <http://novus.com> under the Apache License v2.

Shared Ticket Bins

People watching this ticket

Pages