-
Book Overview & Buying
-
Table Of Contents
Learning Heroku Postgres
By :
In order to create a dataclip, it is necessary to access https://dataclips.heroku.com; this provides a web tool that allows you to create and manage your dataclips.

The Heroku dataclips web tool
To create a new dataclip, you should follow these steps:
You can use the SELECT * FROM pg_catalog.pg_tables ORDER BY tablename ASC LIMIT 5 query if you don't have data in your database. This query returns the name of the first five tables of your database in an ascending order.
The following screenshot shows the first five tables of pg_tables:

The first five tables in pg_tables
You can change your SQL query at any time. To do this, just change your query and click on the Update Query button.
Every time you change the query, a new version is automatically...
Change the font size
Change margin width
Change background colour