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

How to substitute the columns you want to select in a query #50

Closed
cmflynn opened this issue Oct 14, 2020 · 2 comments
Closed

How to substitute the columns you want to select in a query #50

cmflynn opened this issue Oct 14, 2020 · 2 comments

Comments

@cmflynn
Copy link

cmflynn commented Oct 14, 2020

For example:

-- name: get-orders-dynamic
SELECT {columns}
FROM orders
WHERE store = :store  and product = :product;

where columns = 'store_name, store_id' etc..

is this possible through aiosql?

@nackjicholson
Copy link
Owner

@codyflynnNC No, it's not currently possible. Possibly related to #21

@cmflynn
Copy link
Author

cmflynn commented Oct 19, 2020

Yep definitely related - I'll close this issue in favor of the linked one above.

@cmflynn cmflynn closed this as completed Oct 19, 2020
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

2 participants