Module: ActiveGraph::Shared::ClassMethods
- Defined in:
 - lib/active_graph/shared.rb
 
Instance Method Summary collapse
- 
  
    
      #neo4j_query(*args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
This should be used everywhere.
 - #new_query ⇒ Object
 
Instance Method Details
#neo4j_query(*args) ⇒ Object
This should be used everywhere. Should make it easy to support a driver-per-model system
      15 16 17  | 
    
      # File 'lib/active_graph/shared.rb', line 15 def neo4j_query(*args) ActiveGraph::Base.query(*args) end  | 
  
#new_query ⇒ Object
      19 20 21  | 
    
      # File 'lib/active_graph/shared.rb', line 19 def new_query ActiveGraph::Base.new_query end  |