Sha256: c8194927f83da2e4c13e105d4a5ec8f6596354e8051eedc058896d75c891de94

Contents?: true

Size: 270 Bytes

Versions: 10

Compression:

Stored size: 270 Bytes

Contents

require_relative './sql_to_arel/result'
require_relative './sql_to_arel/error'
require_relative './sql_to_arel/pg_query_visitor'

module Arel
  module SqlToArel
  end

  def self.sql_to_arel(sql, binds: [])
    SqlToArel::PgQueryVisitor.new.accept(sql, binds)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arel_toolkit-0.4.9 lib/arel/sql_to_arel.rb
arel_toolkit-0.4.8 lib/arel/sql_to_arel.rb
arel_toolkit-0.4.7 lib/arel/sql_to_arel.rb
arel_toolkit-0.4.6 lib/arel/sql_to_arel.rb
arel_toolkit-0.4.5 lib/arel/sql_to_arel.rb
arel_toolkit-0.4.4 lib/arel/sql_to_arel.rb
arel_toolkit-0.4.3 lib/arel/sql_to_arel.rb
arel_toolkit-0.4.2 lib/arel/sql_to_arel.rb
arel_toolkit-0.4.1 lib/arel/sql_to_arel.rb
arel_toolkit-0.4.0 lib/arel/sql_to_arel.rb