Sha256: a103d55af4779dbc42def1bf47505768ced02cbf736e5ff5f0e1988db1061624
Contents?: true
Size: 504 Bytes
Versions: 37
Compression:
Stored size: 504 Bytes
Contents
require 'flydata/source_mysql/plugin_support/ddl_query_handler' module Flydata module SourceMysql module PluginSupport class TruncateTableQueryHandler < TableDdlQueryHandler PATTERN = /^TRUNCATE/i def initialize(context) super end def pattern PATTERN end def process(record) emit_record(:truncate_table, record) do |opt| { table_name: record['table_name'], query: record["query"] } end end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems