Skip to content

Commit 6eb2cd3

Browse files
committed
logistics updates
1 parent 61f4bc1 commit 6eb2cd3

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.gitignore

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,10 @@ python/.ipynb_checkpoints/*
22
.Rproj.user
33

44
*.Rhistory
5-
*.Rproj
5+
*.Rproj
6+
7+
.idea/
8+
9+
handout.*
10+
11+
PostgreSQL-Cheat-Sheet.pdf

datagrip.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@ By default, you'll have a Data Source with a name like postgres@localhost or som
1212
* User: your username
1313
* Password: your password (for the database)
1414

15-
Driver should say PostgreSQL. If there is a link to use the default driver or download a driver, do that.
15+
Driver should say PostgreSQL. If there is a link to use the default driver or download/update a driver, do that (should show at the bottom of the window).
1616

1717
Click the Test Connection button to make sure the information is working.
1818

19+
Then click on the Schemas tab. Find the option that has says (Current database) next to it. Expand it, and select the public schema.
20+
21+
Then click on the Options tab. Check the box next to "Introspect using JDBC metadata."
22+
1923
Click OK in the bottom right.
2024

2125
When you get back to the main DataGrip window, you should see the database connection you just set up on the left. If you expand that entry (multiple times), you'll see the name of the database, then the option to see a list of tables. Expanding individual tables gives you information about the columns.

readme.md

+10
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@ This repository also includes materials for connecting to a database using Pytho
3636

3737
[DataGrip Tutorial](https://www.youtube.com/watch?v=Xb9K8IAdZNg): video on how to use the DataGrip program; it even uses the same database we use in this workshop.
3838

39+
### Reference
40+
41+
[PostgreSQL cheat sheet](http://www.postgresqltutorial.com/wp-content/uploads/2018/03/PostgreSQL-Cheat-Sheet.pdf): a list of basic commands and patterns for statements
42+
43+
[PostgreSQL Documentation](https://www.postgresql.org/docs/current/static/index.html): official documentation
44+
45+
[dvdrental Diagram](http://www.postgresqltutorial.com/wp-content/uploads/2018/03/printable-postgresql-sample-database-diagram.pdf): entity-relationship diagram for the database used in the workshop
46+
47+
[psql commands cheat sheet](http://www.postgresonline.com/downloads/special_feature/postgresql83_psql_cheatsheet.pdf): describe commands, other slash commands
48+
3949
### Additional Exercises/Tutorials
4050

4151
_These resources use PostgreSQL or SQL generally._

0 commit comments

Comments
 (0)