molecule.boilerplate.api.Keywords.max
Attributes
-
Source
-
Keywords.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Show all
-
Self type
-
Members list
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
-
Returns
-
a string representation of the object.
-
Definition Classes
-
Any
-
Source
-
Keywords.scala
Maximum n values of attribute.
Apply max(n)
to attribute to return Vector of the n biggest values of entities matching the molecule.
Maximum n values of attribute.
Apply max(n)
to attribute to return Vector of the n biggest values of entities matching the molecule.
for {
_ <- Person.age.insert(25, 34, 37, 42, 70)
_ <- Person.age(max(3)).get.map(_.head ==> List(37, 42, 70))
} yield ()
Attributes
-
Returns
-
List[attribute-type]
-
Note
-
max
/max(n)
supports all value types (via comparators).
Can at most return the number of values that match.
-
Inherited from:
-
max
-
Source
-
Keywords.scala