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

rds_json_errcode_key will not echo anything while success query. #8

Open
xiaohuilam opened this issue Aug 16, 2014 · 1 comment
Open

Comments

@xiaohuilam
Copy link

rds_json_errcode_key will not echo anything if query success.
some ajax program js front usually need a "code" result, so i find rds_json_errcode_key directive,
tested it and knew that it only work while query error. so could there any way to echo excution code?

@agentzh
Copy link
Member

agentzh commented Aug 16, 2014

@xiaohuilam then we'll also need a rds_json_result_key directive. When it is on, we can always add the errcode key to the top-level JSON object. Patches welcome :)

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

2 participants