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

Integrate sql-pg-restrict and sql-pg-helper #4

Closed
Sharaal opened this issue Apr 30, 2019 · 0 comments
Closed

Integrate sql-pg-restrict and sql-pg-helper #4

Sharaal opened this issue Apr 30, 2019 · 0 comments
Assignees

Comments

@Sharaal
Copy link
Owner

Sharaal commented Apr 30, 2019

As a proposal integrate both additional packages into the core sql-pg package.

This results in a few advantages:

  • All methods are provided with the sql tag, so it will be sql.query, sql.insert and so on available
  • All of these methods are optional available after assign the pg client to sql.client
  • sql.query will be automatically restricted to queries created with the sql tag
  • Avoid complex usage if want to use them together

The disadvantage is of course the higher complexity of the core sql-pg package.

@Sharaal Sharaal self-assigned this May 2, 2019
Sharaal added a commit that referenced this issue May 2, 2019
…-`sql-pg-helper`

#4 Integrate `sql-pg-restrict` and `sql-pg-helper`
@Sharaal Sharaal closed this as completed May 2, 2019
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

1 participant