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

Wishing for Row->JSON-Object conversion #67

Closed
Asc2011 opened this issue Feb 15, 2023 · 1 comment
Closed

Wishing for Row->JSON-Object conversion #67

Asc2011 opened this issue Feb 15, 2023 · 1 comment

Comments

@Asc2011
Copy link

Asc2011 commented Feb 15, 2023

Hi evbr,

in the Sqlite-CLI-tool, one can :

.mode json
SELECT * FROM MyTable;
.mode table

and every row will be returned as a JSON-Object.
That is quite handy and has been discussed in the Sqlite-Forums. There is no SQL-solution where one can use a '*' to select all row-members.
I'd really appreciate a extension, that would allow to do this, without 3rd-party scripting.

best regards,

@nalgeon
Copy link
Owner

nalgeon commented Mar 10, 2023

I've given it some thought, but still have no idea how to implement it. I will close the issue for now; please let me know if you see a possible implementation.

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