Skip to content

Commit

Permalink
Clarified table documentation with where clause field requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
e-gineer committed Apr 3, 2021
1 parent 64d8531 commit d94489e
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 18 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

## v0.0.2 [TBD]

_What's new?_

- Clarified table documentation with where clause field requirements.


## v0.0.1 [2021-04-03]

_What's new?_
Expand Down
7 changes: 0 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ where
| | Changelog – https://t.co/8IETtyFBGZ | |
| | | |
| | #shiftleftjoin @awscloud https://t.co/o7ifZQlRMe | |
| 1377723768857104391 | New! Use SQL to instantly query Oracle Cloud 🚀 | ["OracleCloud"] |
| | | |
| | Open source. No DB required. | |
| | | |
| | #shiftleftjoin @OracleCloud | |
| | | |
| | https://t.co/Jy9imAz9qK | |
+---------------------+-----------------------------------------------------+-----------------+
```

Expand Down
2 changes: 1 addition & 1 deletion docs/tables/twitter_search_recent.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Search the last 7 days of public tweets using the [Twitter search syntax and operators](https://developer.twitter.com/en/docs/twitter-api/tweets/search/integrate/build-a-query).

Notes:
* The `query` field must be provided in the `where` clause.
* The `query` field must be set in the `where` clause.
* To prevent excess API quota use, results are limited to `max_results_per_query` by default.

## Examples
Expand Down
8 changes: 6 additions & 2 deletions docs/tables/twitter_tweet.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Table: twitter_tweet

Get information about a tweet.
Get information about a any public tweet.

Note: The `id` field must be provided.
To query lists of tweets see
[twitter_search_recent](../twitter_search_recent) or
[twitter_user_tweet](../twitter_user_tweet) instead.

Note: The `id` field must be set in the `where` clause.

## Examples

Expand Down
9 changes: 7 additions & 2 deletions docs/tables/twitter_user.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Table: twitter_user

Get information about a user.
Get information about a single user.

Note: The `id` (priority) or `username` field must be provided.
To query lists of users see
[twitter_user_follower](../twitter_user_follower) or
[twitter_user_following](../twitter_user_following) or
[twitter_user_mention](../twitter_user_mention) instead.

Note: The `id` (preferred) or `username` field must be set in the `where` clause.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/tables/twitter_user_follower.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Query users who are followers of the specified user ID.

Note: The `user_id` field must be provided.
Note: The `user_id` field must be set in the `where` clause.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/tables/twitter_user_following.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Query which users the specified user follows.

Note: The `user_id` field must be provided.
Note: The `user_id` field must be set in the `where` clause.

## Examples

Expand Down
4 changes: 2 additions & 2 deletions docs/tables/twitter_user_mention.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Table: twitter_user_mention

Tweets where the user is mentioned.
Tweets where the specified user is mentioned.

Note: A `user_id` must be provided in all queries to this table.
Note: The `user_id` field must be set in the `where` clause.

## Examples

Expand Down
4 changes: 2 additions & 2 deletions docs/tables/twitter_user_tweet.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Table: twitter_user_tweet

Tweets published by the author.
Tweets published by the specified user ID (author).

Note: An `user_id` must be provided in all queries to this table.
Note: The `user_id` field must be set in the `where` clause.

## Examples

Expand Down

0 comments on commit d94489e

Please sign in to comment.