Skip to content

(extend) support adding custom table name #76

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

Closed
kkharji opened this issue Aug 16, 2021 · 0 comments
Closed

(extend) support adding custom table name #76

kkharji opened this issue Aug 16, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kkharji
Copy link
Owner

kkharji commented Aug 16, 2021

support setting a different table name than the provided key. e.g.

require('sql') {
  init = true,
  fs = {
      _name = "filesystem_table"
  }
}
fs:insert {...} -- will insert into table named "filesystem_table" and not "fs"
@kkharji kkharji added enhancement New feature or request help wanted Extra attention is needed labels Aug 16, 2021
@kkharji kkharji closed this as completed Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant