Thanks for your reply. I use Postgresql 12.2. I have two tables: aim_table and sourse table. They contain identical columns, but source_table's values are updated. I need to extract all the source_table values and add them to the aim_table. The source_table values I get this way "val result = context.select().from(source_table).fetch()". I need to add this result to the aim-table in some way. I can't use "context.loadInto(aim_table).loadRecords(result).fieldsFromSource.execute" because the aim_table already contains entries with the same ID. Can I do it using the command context.update(aim_table).set() and not specifying fields and values which I should add in the set? Something like "context.update(aim_table).set(result).execute"
четверг, 21 мая 2020 г., 17:15:46 UTC+3 пользователь Lukas Eder написал: