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

Make SQL copyable for postgres/accelerator #235

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion postgres/accelerator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ You can now now query `eth_recent_blocks` in the runtime.

```sql
select number, "timestamp", hash, transaction_count, gas_used from eth_recent_blocks order by number desc limit 10;
```
```shell
+----------+------------+--------------------------------------------------------------------+-------------------+----------+
| number | timestamp | hash | transaction_count | gas_used |
+----------+------------+--------------------------------------------------------------------+-------------------+----------+
Expand Down Expand Up @@ -156,7 +158,9 @@ psql spice_demo
```

```sql
spice_demo=# select number, "timestamp", hash, transaction_count, gas_used from eth_recent_blocks order by number desc limit 10;
select number, "timestamp", hash, transaction_count, gas_used from eth_recent_blocks order by number desc limit 10;
```
```shell
number | timestamp | hash | transaction_count | gas_used
----------+------------+--------------------------------------------------------------------+-------------------+----------
19823523 | 1715149295 | 0x6a4619e01fae477b9034981c74908a2cf5110c56828227971a46b798c5c11f1b | 238 | 15921279
Expand Down