lib/hsql/query.rb in hsql-0.2.1 vs lib/hsql/query.rb in hsql-0.3.0
- old
+ new
@@ -1,7 +1,7 @@
-# PgQuery uses Postgres' own parser to parse and then deparse each query.
require 'pg_query'
module HSQL
+ # PgQuery uses Postgres' own parser to parse and then deparse each query.
class Query < Struct.new(:ast)
# Returns a list of queries found in the source SQL
def self.parse(source)
# Splits on semicolons at the end of the line, eliding any comment that
# might be there.