oceanbase / oceanbase/obclient

希望支持类似MySQL的\help语法

Open
#20 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
94
Forks
42
PR merge metrics
No merged PRs in 30d

Description

在MySQL里,类似下面的用法

mysql> \help select
Name: 'SELECT'
Description:
Syntax:
SELECT
    [ALL | DISTINCT | DISTINCTROW ]
    [HIGH_PRIORITY]
...
SELECT can also be used to retrieve rows computed without reference to
any table.

URL: https://dev.mysql.com/doc/refman/8.0/en/select.html

建议在obclient中也能支持。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by locating obclient's command-dispatch and help handling, then compare the requested behavior with MySQL's \help select example. Done means obclient accepts the \help syntax and displays useful command or SQL help, including the SELECT case shown.

Written by the indexing model from the issue text.

Assessment

Domain
cli, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.