Sha256: 18b5cebfb204937ed2df1b0b40e033dc8456e2e2b0effa24e351a9890abb4291
Contents?: true
Size: 535 Bytes
Versions: 8
Compression:
Stored size: 535 Bytes
Contents
grammar SQLShowCreate include SQLPrimitives include SQLRowSupport rule show_create "SHOW" SPACES "CREATE" SPACES table_or_db SPACES table_name { def query_type :show end def tree { :show => "create", :table_or_db => table_or_db.eval, :name => table_name.eval } end } end rule table_or_db "TABLE" { def eval "table" end } / "DATABASE" { def eval "db" end } end end
Version data entries
8 entries across 8 versions & 1 rubygems