diff --git a/docs/03.reference/05.objects/query/addcolumn/_method.md b/docs/03.reference/05.objects/query/addcolumn/_method.md index d1fe106b0..326631859 100644 --- a/docs/03.reference/05.objects/query/addcolumn/_method.md +++ b/docs/03.reference/05.objects/query/addcolumn/_method.md @@ -12,4 +12,6 @@ categories: Adds a column to a query and populates its rows with the contents of an one-dimensional array. -Pads query columns, if necessary, to ensure that all columns have the same number of rows. \ No newline at end of file +Pads query columns, if necessary, to ensure that all columns have the same number of rows. + +For ACF compatibility, starting with version 6.0.0.207, the member function `query.addColumn()` returns the updated query (allowing method chaining). see [LDEV-3581](https://luceeserver.atlassian.net/browse/LDEV-3581) \ No newline at end of file diff --git a/docs/03.reference/05.objects/query/deletecolumn/_method.md b/docs/03.reference/05.objects/query/deletecolumn/_method.md index fd6d58d72..c5dd8cabb 100644 --- a/docs/03.reference/05.objects/query/deletecolumn/_method.md +++ b/docs/03.reference/05.objects/query/deletecolumn/_method.md @@ -11,4 +11,6 @@ categories: --- -removes a row from a query and return removed row as array \ No newline at end of file +Removes a column from a query and returns the query without the specified column. + +For ACF compatibility, starting with version 6.0.0.207, the member function `query.deleteColumn()` returns the updated query (allowing method chaining). see [LDEV-3581](https://luceeserver.atlassian.net/browse/LDEV-3581) \ No newline at end of file diff --git a/docs/03.reference/05.objects/query/deleterow/_method.md b/docs/03.reference/05.objects/query/deleterow/_method.md index bebcdd2cc..a0baf9353 100644 --- a/docs/03.reference/05.objects/query/deleterow/_method.md +++ b/docs/03.reference/05.objects/query/deleterow/_method.md @@ -11,4 +11,6 @@ categories: --- -Deletes the row within a query object. Modifies the original query object \ No newline at end of file +Deletes the row within a query object. Modifies the original query object + +For ACF compatibility, starting with version 6.0.0.207, the member function `query.deleteRow()` returns the updated query (allowing method chaining). see [LDEV-3581](https://luceeserver.atlassian.net/browse/LDEV-3581) \ No newline at end of file diff --git a/docs/recipes/breaking-changes-6-0.md b/docs/recipes/breaking-changes-6-0.md index bd39855c0..138eb68de 100644 --- a/docs/recipes/breaking-changes-6-0.md +++ b/docs/recipes/breaking-changes-6-0.md @@ -212,11 +212,9 @@ This was changed to match modern security expectations, as session tokens should [LDEV-3453](https://luceeserver.atlassian.net/browse/LDEV-3453) -### Query.addRow() member function now returns the updated query +### ACF Compatibility Query.addRow(), Query.addColumn(), Query.deleteRow(), Query.deleteColumn() -Previously it returned the number of rows, this was changed to match ACF - -[[method-query-addrow]] +For ACF compatibility, the member functions `Query.addRow()`, `Query.addColumn()`, `Query.deleteRow()`, and `Query.deleteColumn()` return the updated query (allowing method chaining). [LDEV-3581](https://luceeserver.atlassian.net/browse/LDEV-3581) @@ -287,4 +285,4 @@ Number format now rounds up instead of down to match ACF behavior. Fixed implementation bug and changed to milliseconds, to match ACF behavior. -[LDEV-1860](https://luceeserver.atlassian.net/browse/LDEV-1860) +[LDEV-1860](https://luceeserver.atlassian.net/browse/LDEV-1860) \ No newline at end of file