dbeaver / dbeaver/dbvr

JSON output format for metadata commands

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
v:dbvr CE xf:metadata
Dominant language
Java
Stars
56
Forks
7
Avg merge
1d 19h
Merged PRs (30d)
5

Description

Connected with https://github.com/dbeaver/dbvr/issues/97

We want to add the JSON format for the output for our meta commands: https://dbeaver.com/docs/dbvr/meta/

Example:

```
dbvr meta table ddl -ds my-datasource-id -sn=public -tn=orders --outputFormat=json
# Ok: {"status": "ok", "table DDL": []}
# Error: {"status": "error", "code": 1, "message": "Connection failed", "details": {...}}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the meta-command documentation at https://dbeaver.com/docs/dbvr/meta/ and the connected issue https://github.com/dbeaver/dbvr/issues/97 first. Trace the output path for `dbvr meta table ddl` and determine how the requested JSON format should apply across meta commands. Done means successful and failed commands emit JSON matching the documented status, result, error code, message, and details structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.