I have this insert:
conn.insert(into: MyModel.self).values(rates).run()
Where MyModel conforms to PostgreSQLModel and rates is [MyModel]. I cannot grok the syntax for upsert which I have found solutions to here in the context of inserting multiple rows.
Thanks for any assistance.