# File lib/marjoree/core.rb, line 74 def num_rows( table_name, where_map = nil ) where_clause = build_where_statement( where_map ) dbCall = execute( "SELECT COUNT(*) AS number_of_rows FROM #{table_name} #{where_clause}" ) return dbCall.hashes.first[:number_of_rows] end