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

Add information_schema examples #2958

Merged
merged 2 commits into from
Apr 19, 2018
Merged

Add information_schema examples #2958

merged 2 commits into from
Apr 19, 2018

Conversation

lnhsingh
Copy link
Contributor

Closes #2956.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@jseldess jseldess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with a few nits. Also, please apply these updates to the 2.1 version of the page as well.

@@ -266,6 +266,36 @@ Column | Description
`is_trigger_deletable` | Always `NULL` (unsupported by CockroachDB).
`is_trigger_insertable_into` | Always `NULL` (unsupported by CockroachDB).

## Examples

### Show All Columns from a Virtual Table in the Information Schema
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Show All Columns from a Virtual Table in the Information Schema > Retrieve All Columns from an Information Schema Table

+--------------------+-------------------+-----------------+---------------+--------------+-------------+-----------------+---------------+--------------------+
~~~

### Show a Specific Column from a Virtual Table in the Information Schema
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Show a Specific Column from a Virtual Table in the Information Schema > Retrieve Specific Columns from an Information Schema Table and then include one more column in the query.

@lnhsingh lnhsingh merged commit 5987aa3 into master Apr 19, 2018
@lnhsingh lnhsingh deleted the table-constraints branch April 19, 2018 19:40
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

Successfully merging this pull request may close these issues.

3 participants