Method: InterMine::PathQuery::Query#used_codes
- Defined in:
- lib/intermine/query.rb
#used_codes ⇒ Object
Return the list of currently used codes by the query.
889 890 891 892 893 894 895 |
# File 'lib/intermine/query.rb', line 889 def used_codes if @constraints.empty? return [] else return @constraints.select {|x| !x.is_a?(SubClassConstraint)}.map {|x| x.code} end end |