Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Marten::DB::Query::Annotation
Inherits
Reference
/
Object
Constructors
new
(type :
String
, field :
String
, alias_name :
String
, distinct :
Bool
= false)
Source
Class methods
average
(field :
String
, alias_name :
String
|
Nil
= nil, distinct :
Bool
= false)
Source
count
(field :
String
, alias_name :
String
|
Nil
= nil, distinct :
Bool
= false)
Source
maximum
(field :
String
, alias_name :
String
|
Nil
= nil, distinct :
Bool
= false)
Source
minimum
(field :
String
, alias_name :
String
|
Nil
= nil, distinct :
Bool
= false)
Source
sum
(field :
String
, alias_name :
String
|
Nil
= nil, distinct :
Bool
= false)
Source
Instance methods
alias
(alias_name :
String
|
Symbol
)
Source
alias_name
Source
distinct
(distinct :
Bool
= true)
Source
distinct?
Source
field
Source
type
Source