From 20e113ba4a05b4977251416f2c26219f769b0338 Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Sat, 6 Jan 2024 17:00:52 +0700 Subject: [PATCH] Adding ramsql --- README.md | 2 ++ scheme.go | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index f520a6f..cf61421 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,7 @@ additional aliases, and the related Go driver: | Netezza | `netezza` | `nz`, `nzgo` | [github.com/IBM/nzgo/v12][d-netezza] | | PostgreSQL PGX | `pgx` | `px` | [github.com/jackc/pgx/v5/stdlib][d-pgx] | | Presto | `presto` | `pr`, `prs`, `prestos`, `prestodb`, `prestodbs` | [github.com/prestodb/presto-go-client/presto][d-presto] | +| RamSQL | `ramsql` | `rm`, `ram` | [github.com/proullon/ramsql/driver][d-ramsql] | | SAP ASE | `sapase` | `ax`, `ase`, `tds` | [github.com/thda/tds][d-sapase] | | SAP HANA | `saphana` | `sa`, `sap`, `hana`, `hdb` | [github.com/SAP/go-hdb/driver][d-saphana] | | Snowflake | `snowflake` | `sf` | [github.com/snowflakedb/gosnowflake][d-snowflake] | @@ -198,6 +199,7 @@ additional aliases, and the related Go driver: [d-postgres]: https://github.com/lib/pq [d-presto]: https://github.com/prestodb/presto-go-client [d-ql]: https://gitlab.com/cznic/ql +[d-ramsql]: https://github.com/proullon/ramsql [d-sapase]: https://github.com/thda/tds [d-saphana]: https://github.com/SAP/go-hdb [d-snowflake]: https://github.com/snowflakedb/gosnowflake diff --git a/scheme.go b/scheme.go index 42c8312..dbf1be2 100644 --- a/scheme.go +++ b/scheme.go @@ -308,6 +308,12 @@ func BaseSchemes() []Scheme { []string{"ql", "cznic", "cznicql"}, "", }, + { + "ramsql", + GenFromURL("truncate://ramsql"), 0, false, + []string{"rm", "ram"}, + "", + }, { "snowflake", GenSnowflake, 0, false,