You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on spring-projects/spring-data-r2dbc#474, the documentation showing usage of Collection-like bind parameters leads to an assumption, that collection values can be used also for updating array columns.
We should clarify by adding a note that R2DBC doesn't support Collection-like values and this feature is solely a Spring feature. We also should mention that inserting/updating array-typed columns (as in Postgres) requires an array-type that is supported by the R2DBC driver, which are typically Java arrays (e.g. String[] to update a text[] column instead of using Collection<String>).
I can submit a pull request to update the docs.
The text was updated successfully, but these errors were encountered:
Based on spring-projects/spring-data-r2dbc#474, the documentation showing usage of
Collection
-like bind parameters leads to an assumption, that collection values can be used also for updating array columns.We should clarify by adding a note that R2DBC doesn't support
Collection
-like values and this feature is solely a Spring feature. We also should mention that inserting/updating array-typed columns (as in Postgres) requires an array-type that is supported by the R2DBC driver, which are typically Java arrays (e.g.String[]
to update atext[]
column instead of usingCollection<String>
).I can submit a pull request to update the docs.
The text was updated successfully, but these errors were encountered: