Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/03.reference/05.objects/query/addcolumn/_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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)
4 changes: 3 additions & 1 deletion docs/03.reference/05.objects/query/deletecolumn/_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ categories:

---

removes a row from a query and return removed row as array
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)
4 changes: 3 additions & 1 deletion docs/03.reference/05.objects/query/deleterow/_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ categories:

---

Deletes the row within a query object. Modifies the original query object
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)
8 changes: 3 additions & 5 deletions docs/recipes/breaking-changes-6-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)