Skip to content

Commit

Permalink
Add csvq scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick committed Apr 3, 2021
1 parent cb2a55f commit 92551a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ supported out of the box:
| ClickHouse (clickhouse) | ch |
| Couchbase (n1ql) | n1, couchbase |
| Cznic QL (ql) | ql, cznic, cznicql |
| CSVQ (csvq) | csv, tsv, json |
| Firebird SQL (firebirdsql) | fb, firebird |
| Genji (genji) | gj |
| Google BigQuery (bigquery) | bq |
Expand Down Expand Up @@ -196,6 +197,7 @@ to be imported:
| ClickHouse (clickhouse) | [github.com/ClickHouse/clickhouse-go](https://github.com/ClickHouse/clickhouse-go) |
| Couchbase (n1ql) | [github.com/couchbase/go_n1ql](https://github.com/couchbase/go_n1ql) |
| Cznic QL (ql) | [modernc.org/ql](https://modernc.org/ql) |
| CSVQ (csvq) | [github.com/mithrandie/csvq](https://github.com/mithrandie/csvq) |
| Firebird SQL (firebirdsql) | [github.com/nakagami/firebirdsql](https://github.com/nakagami/firebirdsql) |
| Genji (genji) | [github.com/genjidb/genji/sql/driver](https://github.com/genjidb/genji) |
| Google BigQuery (bigquery) | [gorm.io/driver/bigquery/driver](https://gorm.io/driver/bigquery/driver) |
Expand Down
2 changes: 2 additions & 0 deletions dburl.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
// ClickHouse (clickhouse) | ch
// Couchbase (n1ql) | n1, couchbase
// Cznic QL (ql) | ql, cznic, cznicql
// CSVQ (csvq) | csv, tsv, json
// Firebird SQL (firebirdsql) | fb, firebird
// Genji (genji) | gj
// Google BigQuery (bigquery) | bq
Expand Down Expand Up @@ -157,6 +158,7 @@
// ClickHouse (clickhouse) | github.com/ClickHouse/clickhouse-go
// Couchbase (n1ql) | github.com/couchbase/go_n1ql
// Cznic QL (ql) | modernc.org/ql
// CSVQ (csvq) | github.com/mithrandie/csvq
// Firebird SQL (firebirdsql) | github.com/nakagami/firebirdsql
// Genji (genji) | github.com/genjidb/genji/sql/driver
// Google BigQuery (bigquery) | gorm.io/driver/bigquery/driver
Expand Down
1 change: 1 addition & 0 deletions scheme.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func BaseSchemes() []Scheme {
{"clickhouse", GenClickhouse, 0, false, []string{"ch"}, ""},
{"cosmos", GenCosmos, 0, false, []string{"cm"}, ""},
{"cql", GenCassandra, 0, false, []string{"ca", "cassandra", "datastax", "scy", "scylla"}, ""},
{"csvq", GenOpaque, 0, true, []string{"csv", "tsv", "json"}, ""},
{"firebirdsql", GenFirebird, 0, false, []string{"fb", "firebird"}, ""},
{"genji", GenOpaque, 0, true, []string{"gj"}, ""},
{"h2", GenScheme("h2"), 0, false, nil, ""},
Expand Down

0 comments on commit 92551a0

Please sign in to comment.