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

Queries implementation #3

Open
eduard93 opened this issue Nov 8, 2019 · 1 comment
Open

Queries implementation #3

eduard93 opened this issue Nov 8, 2019 · 1 comment

Comments

@eduard93
Copy link

eduard93 commented Nov 8, 2019

We get sql - how do we translate it into json.

  1. Use %ZEN.Auxiliary.altJSONSQLProvider (current approach)
  2. Plain write. Fastest if code-generated, but far too much work. Non code-generated examples can be seen here and here.
  3. Force users/automatically modify queries to use JSON_OBJECT sql function. How?
  4. Construct the dynamic query and return the %ResultSet contents in a %DynamicObject.
@eduard93
Copy link
Author

eduard93 commented Nov 8, 2019

About 4. Please not that %ZEN.Auxiliary.altJSONSQLProvider does similar things.

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

1 participant