Method: Note::SKOS::ChangeNote.single_query
- Defined in:
- app/models/note/skos/change_note.rb
.single_query(params = {}) ⇒ Object
29 30 31 32 33 34 |
# File 'app/models/note/skos/change_note.rb', line 29 def self.single_query(params = {}) query_str = build_query_string(params) Note::SKOS::ChangeNote.includes(:annotations). merge(Note::Annotated::Base.where(Note::Annotated::Base.arel_table[:value].matches(query_str))) end |