Sha256: 27a4bbe621249442d85dcdce5f4c623f2d9cb3d25aa41f121dce91048da2680f

Contents?: true

Size: 396 Bytes

Versions: 10

Compression:

Stored size: 396 Bytes

Contents

module Neo4j::Mapping
  module ClassMethods
    module Index
      def index(field, config = {})
        Neo4j::Node.index(field, config, index_name)
      end

      def find(field, query, config = {})
        Neo4j::Node.find(field, query, config, index_name)
      end

      def rm_index(field, config = {})
        Neo4j::Node.rm_index(field, config, index_name)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
neo4j-1.0.0.beta.17 lib/neo4j/mapping/class_methods/index.rb
neo4j-1.0.0.beta.16 lib/neo4j/mapping/class_methods/index.rb
neo4j-1.0.0.beta.15 lib/neo4j/mapping/class_methods/index.rb
neo4j-1.0.0.beta.14 lib/neo4j/mapping/class_methods/index.rb
neo4j-1.0.0.beta.13 lib/neo4j/mapping/class_methods/index.rb
neo4j-1.0.0.beta.12 lib/neo4j/mapping/class_methods/index.rb
neo4j-1.0.0.beta.11 lib/neo4j/mapping/class_methods/index.rb
neo4j-1.0.0.beta.10 lib/neo4j/mapping/class_methods/index.rb
neo4j-1.0.0.beta.9 lib/neo4j/mapping/class_methods/index.rb
neo4j-1.0.0.beta.8 lib/neo4j/mapping/class_methods/index.rb