class Marten::DB::Query::SQL::Annotation::Minimum

Defined in:

marten/db/query/sql/annotation/minimum.cr

Instance Method Summary

Instance methods inherited from class Marten::DB::Query::SQL::Annotation::Base

alias_name : String alias_name, alias_prefix : String alias_prefix, alias_prefix=(alias_prefix : String) alias_prefix=, clone clone, distinct? : Bool distinct?, field : Marten::DB::Field::Base field, from_db_result_set(result_set : ::DB::ResultSet) from_db_result_set, to_sql : String to_sql

Constructor methods inherited from class Marten::DB::Query::SQL::Annotation::Base

new(field : Field::Base, alias_name : String, distinct : Bool, alias_prefix : String) new

Instance Method Detail

def from_db_result_set(result_set : ::DB::ResultSet) #
Description copied from class Marten::DB::Query::SQL::Annotation::Base

Extracts the annotation value from a DB result set and returns the right object corresponding to it.


[View source]
def to_sql : String #
Description copied from class Marten::DB::Query::SQL::Annotation::Base

Returns the SQL string corresponding to the annotation.


[View source]