Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4b354b8a
Commit
4b354b8a
authored
Mar 19, 2020
by
Matthias Kaeppler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bulk-insert docs: drop ON CONFLICT restriction
parent
6f09f635
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
doc/development/insert_into_tables_in_batches.md
doc/development/insert_into_tables_in_batches.md
+3
-4
No files found.
doc/development/insert_into_tables_in_batches.md
View file @
4b354b8a
...
@@ -184,10 +184,9 @@ simply be treated as if you had invoked `save` from outside the block.
...
@@ -184,10 +184,9 @@ simply be treated as if you had invoked `save` from outside the block.
There are a few restrictions to how these APIs can be used:
There are a few restrictions to how these APIs can be used:
-
`ON CONFLICT`
behavior cannot currently be configured; an error will be raised on primary key conflicts.
-
`BulkInsertableAssociations`
:
-
`BulkInsertableAssociations`
furthermore has the following restrictions:
-
It is currently only compatible with
`has_many`
relations.
-
only compatible with
`has_many`
relations.
-
It does not yet support
`has_many through: ...`
relations.
-
does not support
`has_many through: ...`
relations.
-
Writing
[
`jsonb`
](
https://www.postgresql.org/docs/current/datatype-json.html
)
content is
-
Writing
[
`jsonb`
](
https://www.postgresql.org/docs/current/datatype-json.html
)
content is
[
not currently supported
](
https://gitlab.com/gitlab-org/gitlab/-/issues/210560
)
.
[
not currently supported
](
https://gitlab.com/gitlab-org/gitlab/-/issues/210560
)
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment