Module Field.FloatSource

Operations on float field node.

CAVEATS: Despite being in the query ast, float field are not currently supported by the parser. While it's possible to build a query containing float field using the ast, it's not possible to build one from positional nor s-expression query.

Sourcemodule Key : sig ... end

Operations on keys for float field

Sourcetype 'a t

type of float field node

Sourceval init : Key.t -> 'a Range.t -> 'a t
  • since 0.3.0
Sourceval avg_duration : 'a Range.t -> 'a t

avg_duration r is AvgDuration r.

Sourceval avg_rating : 'a Range.t -> 'a t

avg_rating r is AvgRating r.

Sourceval avg_size : 'a Range.t -> 'a t

avg_size r is AvgSize r.

Sourceval to_string : float t -> string

to_string field returns a string representation of field.

Sourceval to_sexp : float t -> string

to_sexp field is to_string.

Sourceval key : 'a t -> Key.t
Sourceval value : 'a t -> 'a Range.t