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

$cursorStreamRaw funtionality #5

Open
Joandres-Lara opened this issue Nov 25, 2024 · 0 comments
Open

$cursorStreamRaw funtionality #5

Joandres-Lara opened this issue Nov 25, 2024 · 0 comments

Comments

@Joandres-Lara
Copy link

Joandres-Lara commented Nov 25, 2024

Hi, can be added new method for get bached stream with raw queries like:

const stream = await db.$cursorStreamRaw`
 select sum(amount) from account
 group by "userId"
 having sum(amount) > 0
`
for await (const value of stream){
 console.log(value.sum)
}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant