lib/trait_bank/admin.rb
# NOTE: this code is unused, but please don't delete it; we call it manually.
this code is unused, but please don't delete it; we call it manually.
this code is unused but please don ' t delete it ; we call it manually .
def delete_terms_in_domain(domain)
        before = TraitBank.query("MATCH (term:Term) WHERE term.uri =~ '#{domain}.*' RETURN COUNT(term)")["data"].first.first
        remove_with_query(name: :term, q: "(term:Term) WHERE term.uri =~ '#{domain}.*'")
        before
      end
def delete_terms_in_domain ( domain ) before = TraitBank . query ( "MATCH (term:Term) WHERE term.uri =~ '#{domain}.*' RETURN COUNT(term)" ) [ "data" ] . first . first remove_with_query ( name : :term , q : "(term:Term) WHERE term.uri =~ '#{domain}.*'" ) before end
NOTE: this code is unused, but please don't delete it; we call it manually.
NOTE : this code is unused but please don ' t delete it ; we call it manually .
domain
<not_specific>