Sha256: 82979e492e8eea8ca8d0fcebd4b3874d6924c2a1ffcc851eee62ce1ef7b004cd

Contents?: true

Size: 854 Bytes

Versions: 2

Compression:

Stored size: 854 Bytes

Contents

# frozen_string_literal: true
require "redis"
require "active_support/core_ext/hash/indifferent_access"
require "active_support/core_ext/object/blank"
require "active_support/core_ext/string/inflections"
require "active_support/concern"

require_relative "redgraph/version"
require_relative "redgraph/util"
require_relative "redgraph/graph"
require_relative "redgraph/node"
require_relative "redgraph/edge"
require_relative "redgraph/query_response"
require_relative "redgraph/node_model"

module Redgraph
  class Error < StandardError; end
  class ServerError < Error; end
  class MissingAliasPrefixError < Error
    def message
      "The order clause requires the node/edge alias prefix, ie order('node.foo') instead order('foo')"
    end
  end
  class MissingGraphError < Error
    def message
      "A graph to use is not defined"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redgraph-0.2.2 lib/redgraph.rb
redgraph-0.2.1 lib/redgraph.rb