Sha256: 275edb3a2e938151e608518f9cf1cd2f9d68d028b59ce5c9aa8a68cc054103bc

Contents?: true

Size: 511 Bytes

Versions: 26

Compression:

Stored size: 511 Bytes

Contents

require 'sexpr'
module Bmg

  module Sql
  end

  def sql(table, type = Type::ANY)
    builder = Sql::Builder.new
    sexpr = builder.select_star_from(table)
    Sql::Relation.new(type, builder, sexpr).spied(main_spy)
  end
  module_function :sql

end # module Bmg
require_relative 'sql/ext/predicate'
require_relative 'sql/grammar'
require_relative 'sql/processor'
require_relative 'sql/builder'
require_relative 'sql/dialect'
require_relative 'sql/relation'
require_relative 'sql/support/from_clause_orderer'

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
bmg-0.18.6 lib/bmg/sql.rb
bmg-0.18.5 lib/bmg/sql.rb
bmg-0.18.4 lib/bmg/sql.rb
bmg-0.18.3 lib/bmg/sql.rb
bmg-0.18.2 lib/bmg/sql.rb
bmg-0.18.1 lib/bmg/sql.rb
bmg-0.18.0 lib/bmg/sql.rb
bmg-0.17.8 lib/bmg/sql.rb
bmg-0.17.7 lib/bmg/sql.rb
bmg-0.17.6 lib/bmg/sql.rb
bmg-0.17.5 lib/bmg/sql.rb
bmg-0.17.4 lib/bmg/sql.rb
bmg-0.17.3 lib/bmg/sql.rb
bmg-0.17.2 lib/bmg/sql.rb
bmg-0.16.7 lib/bmg/sql.rb
bmg-0.17.1 lib/bmg/sql.rb
bmg-0.17.0 lib/bmg/sql.rb
bmg-0.16.6 lib/bmg/sql.rb
bmg-0.16.5 lib/bmg/sql.rb
bmg-0.16.4 lib/bmg/sql.rb