Sha256: 1359c3edaf4cdf7e4065b41631b432038b93e23e87d94cc72563fd39305ba8d1

Contents?: true

Size: 990 Bytes

Versions: 1

Compression:

Stored size: 990 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 'active_support/notifications'
require 'active_support/isolated_execution_state'

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
  NOTIFICATIONS_KEY = "redgraph.query".freeze

  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

1 entries across 1 versions & 1 rubygems

Version Path
redgraph-0.2.3 lib/redgraph.rb