Skip to content

Commit

Permalink
working on n-ary lambda expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoontz committed Nov 28, 2009
1 parent 140ca44 commit b2161b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/sql_view_controller.rb
Expand Up @@ -44,7 +44,7 @@ def index
tables_count = ActiveRecord::Base.connection.execute(tables_count_sql)[0]['count']
@results_dbinfo = ActiveRecord::Base.connection.execute(tables_sql)

expressions_sql = "SELECT * FROM expression"
expressions_sql = "SELECT expression_id,arity,string,comment FROM expression"
expressions_count_sql = "SELECT count(*) FROM (" + expressions_sql + ") AS count"
expressions_count = ActiveRecord::Base.connection.execute(expressions_count_sql)[0]['count']
@expressions_dbinfo = ActiveRecord::Base.connection.execute(expressions_sql)
Expand Down

0 comments on commit b2161b8

Please sign in to comment.