Allow query param 'on_conflict=key1,key2,...' to upsert with explicit columns with unique constraint.
This commit is contained in:
committed by
Steve Chavez
parent
e12c1319b6
commit
99b13fa25f
@@ -133,6 +133,13 @@ makeParamDefs ti =
|
||||
& schema .~ ParamOther ((mempty :: ParamOtherSchema)
|
||||
& in_ .~ ParamQuery
|
||||
& type_ ?~ SwaggerString))
|
||||
, ("on_conflict", (mempty :: Param)
|
||||
& name .~ "on_conflict"
|
||||
& description ?~ "On Conflict"
|
||||
& required ?~ False
|
||||
& schema .~ ParamOther ((mempty :: ParamOtherSchema)
|
||||
& in_ .~ ParamQuery
|
||||
& type_ ?~ SwaggerString))
|
||||
, ("order", (mempty :: Param)
|
||||
& name .~ "order"
|
||||
& description ?~ "Ordering"
|
||||
|
||||
Reference in New Issue
Block a user