Class CommonQueryBinder

java.lang.Object
io.quarkus.mongodb.panache.common.binder.CommonQueryBinder

final class CommonQueryBinder extends Object
  • Method Details

    • paramValue

      static Object paramValue(Object value)
      Converts parameter values that need special handling before being passed to the MongoDB driver. Enums are converted to their Enum.name() since the driver has no built-in enum codec. All other values are returned as-is — the driver's CodecRegistry handles encoding.