molecule.boilerplate.api.Keywords.min
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
Minimum n values of attribute.
Apply min(n)
to attribute to return Vector of the n smallest values of entities matching the molecule.
Minimum n values of attribute.
Apply min(n)
to attribute to return Vector of the n smallest values of entities matching the molecule.
for {
_ <- Person.age.insert(25, 34, 37, 42, 70)
_ <- Person.age(min(2)).get.map(_.head ==> List(25, 34))
} yield ()
Attributes
-
Returns
-
List[attribute-type]
-
Note
-
min
/min(n)
supports all value types (via comparators).
Can at most return the number of values that match.
-
Inherited from:
-
min
-
Source
-
Keywords.scala