Sha256: fb4d04e5dd6cf39c44dce07f65be279669066c27cd92f64eefdc0a9571e2e203

Contents?: true

Size: 209 Bytes

Versions: 15

Compression:

Stored size: 209 Bytes

Contents

module Dexter
  class SqlLogParser < LogParser
    def perform
      # TODO support streaming
      @logfile.read.split(";").each do |statement|
        process_entry(statement, 0)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
pgdexter-0.5.5 lib/dexter/sql_log_parser.rb
pgdexter-0.5.4 lib/dexter/sql_log_parser.rb
pgdexter-0.5.3 lib/dexter/sql_log_parser.rb
pgdexter-0.5.2 lib/dexter/sql_log_parser.rb
pgdexter-0.5.1 lib/dexter/sql_log_parser.rb
pgdexter-0.5.0 lib/dexter/sql_log_parser.rb
pgdexter-0.4.3 lib/dexter/sql_log_parser.rb
pgdexter-0.4.2 lib/dexter/sql_log_parser.rb
pgdexter-0.4.1 lib/dexter/sql_log_parser.rb
pgdexter-0.4.0 lib/dexter/sql_log_parser.rb
pgdexter-0.3.10 lib/dexter/sql_log_parser.rb
pgdexter-0.3.9 lib/dexter/sql_log_parser.rb
pgdexter-0.3.8 lib/dexter/sql_log_parser.rb
pgdexter-0.3.7 lib/dexter/sql_log_parser.rb
pgdexter-0.3.6 lib/dexter/sql_log_parser.rb