upsertAttachment

abstract fun upsertAttachment(attachment: Attachment, context: ConnectionContext): Attachment

Upserts an attachment record synchronously given a database connection context.