i_dig_sql 4.0.0
You probably want another gem: arel. Use that to generate SQL using Ruby. This gem only generates SELECT and WITH (ie CTE) statements/expressions.
          Gemfile:
          =
        
        
          安裝:
          =
        
      Runtime 相依性套件 (1):
            boxomojo
            > 1.0.1
          
    Development 相依性套件 (7):
            awesome_print
            > 0
          
          
            bacon
            > 1.0
          
          
            Bacon_Colored
            > 0
          
          
            bundler
            > 1.5
          
          
            pry
            > 0
          
          
            rouge
            > 0.0.0
          
          
            unindent
            > 0.0.0
          
    