Skip to content

Commit dce7096

Browse files
committed
Query examples were added to README
1 parent c907017 commit dce7096

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Make sure you have [git](https://git-scm.com/book/en/v2/Getting-Started-Installi
99
Clone/git pull the repo into any local directory
1010

1111
```
12-
$ git clone https://github.com/intersystems-community/PythonGateway-Template.git
12+
$ git clone https://github.com/intersystems-community/posts-and-tags.git
1313
```
1414

1515
Open the terminal in this directory and run:
@@ -74,6 +74,22 @@ http://localhost:52773/csp/user/index.html
7474

7575
Where `52773` is a container web port.
7676

77+
### Community Posts Dataset
78+
79+
#### SQL Query Examples
80+
Get Posts
81+
``` sql
82+
SELECT * FROM Community.Post
83+
```
84+
Get Tags
85+
``` sql
86+
SELECT * FROM Community.Tag
87+
```
88+
Get Posts by Tag **REST API**
89+
``` sql
90+
SELECT * FROM Community.Post WHERE $LISTFIND($LISTFROMSTRING(Tags, ','), 'REST API') != 0
91+
```
92+
7793
## DevOps
7894

7995
### Dockerfile

0 commit comments

Comments
 (0)