Sha256: 9f40c82a75f5f9d89485c956f78105926f1f0f9c9e4a47941c0036f30358dee0
Contents?: true
Size: 650 Bytes
Versions: 10
Compression:
Stored size: 650 Bytes
Contents
grammar SQLCreateIndex include SQLRowSupport rule create_index "CREATE" optional_unique SPACES "INDEX" SPACES index_name SPACES "ON" SPACES table_name optional_spaces OPEN_PARENS optional_spaces column_name optional_spaces CLOSE_PARENS { def query_type :create_index end def tree { :index => index_name.eval, :table => table_name.eval, :column => column_name.eval } end } end rule optional_unique SPACES "UNIQUE" { def eval true end } / EMPTY_STRING { def eval false end } end end
Version data entries
10 entries across 10 versions & 1 rubygems