Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: <expand>@odata.count queries #966

Merged
merged 10 commits into from
Mar 4, 2025
Merged

fix: <expand>@odata.count queries #966

merged 10 commits into from
Mar 4, 2025

Conversation

BobdenOs
Copy link
Contributor

fixes OData requests like: /admin/Authors?$select=name&$expand=books($count=true)

@johannes-vogel johannes-vogel added the next release pr to be checked for next release label Jan 16, 2025
@johannes-vogel johannes-vogel changed the title Fix: <expand>@odata.count queries fix: <expand>@odata.count queries Jan 27, 2025
@johannes-vogel johannes-vogel removed the next release pr to be checked for next release label Jan 27, 2025
@BobdenOs BobdenOs added the next release pr to be checked for next release label Feb 26, 2025
@johannes-vogel johannes-vogel merged commit 6607a84 into main Mar 4, 2025
6 checks passed
@johannes-vogel johannes-vogel deleted the fix/expand-count branch March 4, 2025 11:51
@cap-bots cap-bots mentioned this pull request Mar 4, 2025
johannes-vogel added a commit that referenced this pull request Mar 4, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>db-service: 1.18.0</summary>

##
[1.18.0](db-service-v1.17.2...db-service-v1.18.0)
(2025-03-04)


### Added

* query modifiers on expand `ref` are propagated to subquery
([#1049](#1049))
([39fbadf](39fbadf))
* support query modifiers at leaf of from ref
([#1050](#1050))
([500a666](500a666))


### Fixed

* `<expand>[@OData](https://github.com/odata).count` queries
([#966](#966))
([6607a84](6607a84))
* align debug log format of stmt values
([#1052](#1052))
([93af0fe](93af0fe))
* expand + groupby may return null, dont attach `.element`
([#1042](#1042))
([cf2e0a2](cf2e0a2))
</details>

<details><summary>sqlite: 1.9.0</summary>

##
[1.9.0](sqlite-v1.8.0...sqlite-v1.9.0)
(2025-03-04)


### Added

* pass through of arbitrary client options
([#1024](#1024))
([b090ccd](b090ccd))
</details>

<details><summary>postgres: 1.12.0</summary>

##
[1.12.0](postgres-v1.11.1...postgres-v1.12.0)
(2025-03-04)


### Added

* pass through of arbitrary client options
([#1024](#1024))
([b090ccd](b090ccd))


### Fixed

* `<expand>[@OData](https://github.com/odata).count` queries
([#966](#966))
([6607a84](6607a84))
</details>

<details><summary>hana: 1.7.0</summary>

##
[1.7.0](hana-v1.6.1...hana-v1.7.0)
(2025-03-04)


### Added

* pass through of arbitrary client options
([#1024](#1024))
([b090ccd](b090ccd))
* support for `SELECT.hint`
([#1004](#1004))
([2c6a763](2c6a763))


### Fixed

* `<expand>[@OData](https://github.com/odata).count` queries
([#966](#966))
([6607a84](6607a84))
* Remove sub query alias check
([#953](#953))
([e5a716c](e5a716c))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Johannes Vogel <[email protected]>
@cap-bots cap-bots mentioned this pull request Mar 4, 2025
johannes-vogel added a commit that referenced this pull request Mar 4, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>postgres: 1.12.0</summary>

##
[1.12.0](postgres-v1.11.1...postgres-v1.12.0)
(2025-03-04)


### Added

* pass through of arbitrary client options
([#1024](#1024))
([b090ccd](b090ccd))


### Fixed

* `<expand>[@OData](https://github.com/odata).count` queries
([#966](#966))
([6607a84](6607a84))
</details>

<details><summary>hana: 1.7.0</summary>

##
[1.7.0](hana-v1.6.1...hana-v1.7.0)
(2025-03-04)


### Added

* pass through of arbitrary client options
([#1024](#1024))
([b090ccd](b090ccd))
* support for `SELECT.hint`
([#1004](#1004))
([2c6a763](2c6a763))


### Fixed

* `<expand>[@OData](https://github.com/odata).count` queries
([#966](#966))
([6607a84](6607a84))
* Remove sub query alias check
([#953](#953))
([e5a716c](e5a716c))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Johannes Vogel <[email protected]>
@cap-bots cap-bots mentioned this pull request Mar 4, 2025
johannes-vogel added a commit that referenced this pull request Mar 4, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>postgres: 1.12.0</summary>

##
[1.12.0](postgres-v1.11.1...postgres-v1.12.0)
(2025-03-04)


### Added

* pass through of arbitrary client options
([#1024](#1024))
([b090ccd](b090ccd))


### Fixed

* `[email protected]` queries
([#966](#966))
([6607a84](6607a84))
</details>

<details><summary>hana: 1.7.0</summary>

##
[1.7.0](hana-v1.6.1...hana-v1.7.0)
(2025-03-04)


### Added

* pass through of arbitrary client options
([#1024](#1024))
([b090ccd](b090ccd))
* support for `SELECT.hint`
([#1004](#1004))
([2c6a763](2c6a763))


### Fixed

* `[email protected]` queries
([#966](#966))
([6607a84](6607a84))
* Remove sub query alias check
([#953](#953))
([e5a716c](e5a716c))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Johannes Vogel <[email protected]>
@cap-bots cap-bots mentioned this pull request Mar 4, 2025
johannes-vogel added a commit that referenced this pull request Mar 4, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>postgres: 1.12.0</summary>

##
[1.12.0](postgres-v1.11.1...postgres-v1.12.0)
(2025-03-04)


### Added

* pass through of arbitrary client options
([#1024](#1024))
([b090ccd](b090ccd))


### Fixed

* `@odata.count` queries
([#966](#966))
([6607a84](6607a84))
</details>

<details><summary>hana: 1.7.0</summary>

##
[1.7.0](hana-v1.6.1...hana-v1.7.0)
(2025-03-04)


### Added

* pass through of arbitrary client options
([#1024](#1024))
([b090ccd](b090ccd))
* support for `SELECT.hint`
([#1004](#1004))
([2c6a763](2c6a763))


### Fixed

* `@odata.count` queries
([#966](#966))
([6607a84](6607a84))
* Remove sub query alias check
([#953](#953))
([e5a716c](e5a716c))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Johannes Vogel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release pr to be checked for next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants