pingcap/tidb

support "help" statement

Open

#16.575 aperta il 18 apr 2020

Vedi su GitHub
 (4 commenti) (2 reazioni) (0 assegnatari)Go (6186 fork)batch import
feature/acceptedhelp wantedtype/feature-request

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

Feature Request

Is your feature request related to a problem? Please describe:

In some scenarios, people can not access user documents through web browsers to get help.

Describe the feature you'd like:

Support the help statement as MySQL does. See the document for details: 13.8.3 HELP Statement

HELP 'search_string' The HELP statement returns online information from the MySQL Reference Manual. Its proper operation requires that the help tables in the mysql database be initialized with help topic information (see Section 5.1.14, “Server-Side Help Support”).

The HELP statement searches the help tables for the given search string and displays the result of the search. The search string is not case-sensitive.

The search string can contain the wildcard characters % and _. These have the same meaning as for pattern-matching operations performed with the LIKE operator. For example, HELP 'rep%' returns a list of topics that begin with rep.

Describe alternatives you've considered:

Searching from a string maybe is not easy to use. We can combine help command with some sub commands. Such as help error [search_string], help function [search_string], help statements [search_string].

Teachability, Documentation, Adoption, Migration Strategy:

N/A

Guida contributor