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

update() doesn't allow for schema specification #13

Open
pocin opened this issue Mar 2, 2022 · 1 comment
Open

update() doesn't allow for schema specification #13

pocin opened this issue Mar 2, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@pocin
Copy link

pocin commented Mar 2, 2022

update(
  connection,
  'myschema.user',
  {
    givenName: 'foo'
  }
);

doesn't work. This is understandable given how it's implemented, but not sure if that is intentional?

I would expect this to work to match the usage of sql.identifier()

update(
  connection,
  ['myschema', 'user'],
  {
    givenName: 'foo'
  }
);
@gajus gajus added the enhancement New feature or request label Mar 2, 2022
@GNARGNARDAVE
Copy link

I was wondering why I couldn't get the upsert to work; the code isn't allowing the schema to be defined...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants