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

Override defaultLocation in .sqlx config block #1816

Open
aelbozie opened this issue Aug 22, 2024 · 2 comments
Open

Override defaultLocation in .sqlx config block #1816

aelbozie opened this issue Aug 22, 2024 · 2 comments

Comments

@aelbozie
Copy link

aelbozie commented Aug 22, 2024

Is the ability to override location in a config block per .sqlx file possible, as suggested here:

config {
  type: "table",
  location: "europe-west2"
}

SELECT * FROM ...

If so, from what version is this possible?

@aelbozie
Copy link
Author

@baptiste-nottingham1 @bs1cad for visibility

@Ekrekr
Copy link
Contributor

Ekrekr commented Aug 28, 2024

There's no field for location in the config blocks currently - the default_location in the workflow settings file is the only option currently.

We would need to wire the option through our backend though, so this isn't a simple config change. Have added the feature request tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants