Skip to content

How to use UsePostgreOnMergeSqlInsertOnConflictDoUpdate correctly? #650

@ZzZombo

Description

@ZzZombo

I have these options:

{
	AutoMapOutputDirection                                         = true,
	IncludeGraph                                                             = true,
	IncludeGraphOperationBuilder                                 = <...>,
	InsertKeepIdentity                                                     = true,
	UsePostgreOnMergeSqlInsertOnConflictDoUpdate = true,
}

And I get the following error when trying to perform a bulk merge on my Postgres DB:

Oops! the ``UsePostgreOnMergeSqlInsertOnConflictDoUpdate`` option cannot be used when there is no column to insert or column values to output. I do not understand what does it want me to do. The docs only talk about what it does, and only show to set it to true to make it work.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions