class SpecimenQuery

Defined in:

queries/specimen_query.cr

Instance Method Summary

Instance methods inherited from class Specimen::BaseQuery

allow_kojin_shuzo(value)
allow_kojin_shuzo
allow_kojin_shuzo
, clone clone, collect_point_info_id(value)
collect_point_info_id
collect_point_info_id
, collecter(value)
collecter
collecter
, collection_code(value)
collection_code
collection_code
, collection_settings_info_id(value)
collection_settings_info_id
collection_settings_info_id
, custom_taxon_info_id(value)
custom_taxon_info_id
custom_taxon_info_id
, date_identified(value)
date_identified
date_identified
, date_last_modified(value)
date_last_modified
date_last_modified
, day(value)
day
day
, default_taxon_info_id(value)
default_taxon_info_id
default_taxon_info_id
, disposition(value)
disposition
disposition
, establishment_means(value)
establishment_means
establishment_means
, find(id) : T find, full_join_collect_point_info full_join_collect_point_info, full_join_collection_settings_info full_join_collection_settings_info, full_join_custom_taxon_info full_join_custom_taxon_info, full_join_default_taxon_info full_join_default_taxon_info, full_join_tour full_join_tour, id(value)
id
id
, identified_by(value)
identified_by
identified_by
, image1(value)
image1
image1
, image2(value)
image2
image2
, image3(value)
image3
image3
, image4(value)
image4
image4
, image5(value)
image5
image5
, inner_join_collect_point_info inner_join_collect_point_info, inner_join_collection_settings_info inner_join_collection_settings_info, inner_join_custom_taxon_info inner_join_custom_taxon_info, inner_join_default_taxon_info inner_join_default_taxon_info, inner_join_tour inner_join_tour, join_collect_point_info join_collect_point_info, join_collection_settings_info join_collection_settings_info, join_custom_taxon_info join_custom_taxon_info, join_default_taxon_info join_default_taxon_info, join_tour join_tour, left_join_collect_point_info left_join_collect_point_info, left_join_collection_settings_info left_join_collection_settings_info, left_join_custom_taxon_info left_join_custom_taxon_info, left_join_default_taxon_info left_join_default_taxon_info, left_join_tour left_join_tour, lifestage(value)
lifestage
lifestage
, month(value)
month
month
, note(value)
note
note
, preload_collect_point_info(preload_query : CollectPoint::BaseQuery) : self
preload_collect_point_info : self
preload_collect_point_info(&) : self
preload_collect_point_info
, preload_collection_settings_info(preload_query : CollectionSetting::BaseQuery) : self
preload_collection_settings_info : self
preload_collection_settings_info(&) : self
preload_collection_settings_info
, preload_custom_taxon_info(preload_query : Taxon::BaseQuery) : self
preload_custom_taxon_info : self
preload_custom_taxon_info(&) : self
preload_custom_taxon_info
, preload_default_taxon_info(preload_query : Taxon::BaseQuery) : self
preload_default_taxon_info : self
preload_default_taxon_info(&) : self
preload_default_taxon_info
, preload_tour(preload_query : Tour::BaseQuery) : self
preload_tour : self
preload_tour(&) : self
preload_tour
, preparation_type(value)
preparation_type
preparation_type
, published_kojin_shuzo(value)
published_kojin_shuzo
published_kojin_shuzo
, right_join_collect_point_info right_join_collect_point_info, right_join_collection_settings_info right_join_collection_settings_info, right_join_custom_taxon_info right_join_custom_taxon_info, right_join_default_taxon_info right_join_default_taxon_info, right_join_tour right_join_tour, rights(value)
rights
rights
, sampling_effort(value)
sampling_effort
sampling_effort
, sampling_protocol(value)
sampling_protocol
sampling_protocol
, sex(value)
sex
sex
, tour_id(value)
tour_id
tour_id
, update(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) : Int64 update, user_id(value)
user_id
user_id
, where_collect_point_info(assoc_query : CollectPoint::BaseQuery, auto_inner_join : Bool = true) where_collect_point_info, where_collection_settings_info(assoc_query : CollectionSetting::BaseQuery, auto_inner_join : Bool = true) where_collection_settings_info, where_custom_taxon_info(assoc_query : Taxon::BaseQuery, auto_inner_join : Bool = true) where_custom_taxon_info, where_default_taxon_info(assoc_query : Taxon::BaseQuery, auto_inner_join : Bool = true) where_default_taxon_info, where_tour(assoc_query : Tour::BaseQuery, auto_inner_join : Bool = true) where_tour, year(value)
year
year

Constructor methods inherited from class Specimen::BaseQuery

all : self all

Class methods inherited from class Specimen::BaseQuery

any? : Bool any?, find(id) : T find, first : T first, first? : T | Nil first?, last : T last, last? : T | Nil last?, new_with_existing_query(query : Avram::QueryBuilder) new_with_existing_query, none? : Bool none?, preload_collect_point_info(record : Specimen, force : Bool = false) : Specimen
preload_collect_point_info(record : Specimen, force : Bool = false, &) : Specimen
preload_collect_point_info(record : Specimen, preload_query : CollectPoint::BaseQuery, force : Bool = false) : Specimen
preload_collect_point_info(records : Enumerable(Specimen), force : Bool = false) : Array(Specimen)
preload_collect_point_info(records : Enumerable(Specimen), force : Bool = false, &) : Array(Specimen)
preload_collect_point_info(records : Enumerable(Specimen), preload_query : CollectPoint::BaseQuery, force : Bool = false) : Array(Specimen)
preload_collect_point_info
, preload_collection_settings_info(record : Specimen, force : Bool = false) : Specimen
preload_collection_settings_info(record : Specimen, force : Bool = false, &) : Specimen
preload_collection_settings_info(record : Specimen, preload_query : CollectionSetting::BaseQuery, force : Bool = false) : Specimen
preload_collection_settings_info(records : Enumerable(Specimen), force : Bool = false) : Array(Specimen)
preload_collection_settings_info(records : Enumerable(Specimen), force : Bool = false, &) : Array(Specimen)
preload_collection_settings_info(records : Enumerable(Specimen), preload_query : CollectionSetting::BaseQuery, force : Bool = false) : Array(Specimen)
preload_collection_settings_info
, preload_custom_taxon_info(record : Specimen, force : Bool = false) : Specimen
preload_custom_taxon_info(record : Specimen, force : Bool = false, &) : Specimen
preload_custom_taxon_info(record : Specimen, preload_query : Taxon::BaseQuery, force : Bool = false) : Specimen
preload_custom_taxon_info(records : Enumerable(Specimen), force : Bool = false) : Array(Specimen)
preload_custom_taxon_info(records : Enumerable(Specimen), force : Bool = false, &) : Array(Specimen)
preload_custom_taxon_info(records : Enumerable(Specimen), preload_query : Taxon::BaseQuery, force : Bool = false) : Array(Specimen)
preload_custom_taxon_info
, preload_default_taxon_info(record : Specimen, force : Bool = false) : Specimen
preload_default_taxon_info(record : Specimen, force : Bool = false, &) : Specimen
preload_default_taxon_info(record : Specimen, preload_query : Taxon::BaseQuery, force : Bool = false) : Specimen
preload_default_taxon_info(records : Enumerable(Specimen), force : Bool = false) : Array(Specimen)
preload_default_taxon_info(records : Enumerable(Specimen), force : Bool = false, &) : Array(Specimen)
preload_default_taxon_info(records : Enumerable(Specimen), preload_query : Taxon::BaseQuery, force : Bool = false) : Array(Specimen)
preload_default_taxon_info
, preload_tour(record : Specimen, force : Bool = false) : Specimen
preload_tour(record : Specimen, force : Bool = false, &) : Specimen
preload_tour(record : Specimen, preload_query : Tour::BaseQuery, force : Bool = false) : Specimen
preload_tour(records : Enumerable(Specimen), force : Bool = false) : Array(Specimen)
preload_tour(records : Enumerable(Specimen), force : Bool = false, &) : Array(Specimen)
preload_tour(records : Enumerable(Specimen), preload_query : Tour::BaseQuery, force : Bool = false) : Array(Specimen)
preload_tour
, truncate(*, cascade : Bool = false, restart_identity : Bool = false) truncate

Macros inherited from class Specimen::BaseQuery

generate_criteria_method(name, type) generate_criteria_method

Instance Method Detail

def all_preload #

[View source]
def allow_kojin_shuzo #

def collect_point_info_id #

def collecter #

def collection_code #

def collection_settings_info_id #

def custom_taxon_info_id #

def date_identified #

def date_last_modified #

def day #

def default_taxon_info_id #

def disposition #

def establishment_means #

def id #

def identified_by #

def image1 #

def image2 #

def image3 #

def image4 #

def image5 #

def lifestage #

def month #

def note #

def preparation_type #

def published_kojin_shuzo #

def rights #

def sampling_effort #

def sampling_protocol #

def sex #

def tour_id #

def user_id #

def with_all_taxa #

[View source]
def year #