Class: Flydata::SourcePostgresql::SyncGenerateTableDdl
Instance Attribute Summary
#dp
Instance Method Summary
collapse
#generate_flydata_tabledef, inherited, #initialize
#initialize
Instance Method Details
#data_entry_prefs ⇒ Object
16
17
18
|
# File 'lib/flydata/source_postgresql/sync_generate_table_ddl.rb', line 16
def data_entry_prefs
de['postgresql_data_entry_preference']
end
|
#data_source_type_display_name ⇒ Object
12
13
14
|
# File 'lib/flydata/source_postgresql/sync_generate_table_ddl.rb', line 12
def data_source_type_display_name
"PostgreSQL database"
end
|
#each_source_tabledef(tables, options, &block) ⇒ Object
20
21
22
23
24
25
26
27
|
# File 'lib/flydata/source_postgresql/sync_generate_table_ddl.rb', line 20
def each_source_tabledef(tables, options, &block)
tables = tables.clone
if tables.to_s == '' || tables.to_s == '[]'
raise ArgumentError, "tables is nil or empty"
end
_each_tabledef(tables, options, &block)
end
|
#run_compatibility_check ⇒ Object
8
9
10
|
# File 'lib/flydata/source_postgresql/sync_generate_table_ddl.rb', line 8
def run_compatibility_check
end
|