mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 10:08:52 +08:00
Compare commits
4 Commits
001f400142
...
22120fcff5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22120fcff5 | ||
|
|
c35eaf2c58 | ||
|
|
3e2809655c | ||
|
|
783613f55f |
@@ -1,21 +1,22 @@
|
|||||||
# Basic usage
|
# Basic usage
|
||||||
|
|
||||||
## Choose SQLite database or CSV file
|
## Choose SQLite database, CSV file, JSON or NDJSON file
|
||||||
|
|
||||||
You can choose a database or a CSV file right on the welcom page (fig. 1). The
|
You can choose a database, a CSV file, a JSON or NDJSON file right on the welcom page (fig. 1). The
|
||||||
supported file extentions: `.csv`, `.db`,`.sqlite` and `.sqlite3`.
|
supported file extentions: `.csv`, `.json`, `.ndjson`, `.db`,`.sqlite` and `.sqlite3`.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
If you choose a CSV file it will be parsed. Then sqliteviz creates a new
|
If you choose a CSV, JSON or NDJSON file it will be parsed. Then sqliteviz creates a new
|
||||||
database with data from the CSV. You can change parsing settings and table name
|
database with data from the file. You can change table name
|
||||||
in the dialog which is shown automatically if you choose a CSV file (fig. 2).
|
in the dialog which is shown automatically if you choose a CSV, JSON or NDJSON file.
|
||||||
|
For CSV you can also change parsing settings (fig. 2).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
If you don't have a database or CSV press `Create empty database` button and
|
If you don't have a database or CSV or JSON/NDJSON press `Create empty database` button and
|
||||||
then fill an empty database using DDL and DML statements. A tab with an example
|
then fill an empty database using DDL and DML statements. A tab with an example
|
||||||
of how to do it will be opened automatically (fig. 3).
|
of how to do it will be opened automatically (fig. 3).
|
||||||
|
|
||||||
|
|||||||
2
Home.md
2
Home.md
@@ -3,7 +3,7 @@ Welcome to the sqliteviz wiki!
|
|||||||
# For users
|
# For users
|
||||||
1. [Installation][0]
|
1. [Installation][0]
|
||||||
2. [Basic usage][1]
|
2. [Basic usage][1]
|
||||||
3. [Multiple CSV file import][9]
|
3. [Multiple file import][9]
|
||||||
4. [Manage inquiries][2]
|
4. [Manage inquiries][2]
|
||||||
5. [Export current database][4]
|
5. [Export current database][4]
|
||||||
6. [Pivot table][3]
|
6. [Pivot table][3]
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
# Multiple CSV file import
|
# Multiple CSV, JSON or NDJSON file import
|
||||||
|
|
||||||
Sometimes it's useful to import several CSV files as tables in one database. For
|
Sometimes it's useful to import several files as tables in one database. For
|
||||||
example, to be able to `JOIN` them in SQL.
|
example, to be able to `JOIN` them in SQL.
|
||||||
|
|
||||||
In sqliteviz you can not only create a database from a CSV file, but also add
|
In sqliteviz you can not only create a database from a CSV, JSON or NDJSON file, but also add
|
||||||
another table from CSV to the existing database.
|
another table from CSV, JSON or NDJSON to the existing database.
|
||||||
|
|
||||||
- Click  icon in the schema panel on `Workspace`
|
- Click  icon in the schema panel on `Workspace`
|
||||||
page
|
page
|
||||||
- Choose a CSV file
|
- Choose a file
|
||||||
- Import it with `CSV import` dialog.
|
- Import it with `import` dialog.
|
||||||
|
|||||||
4
index.md
4
index.md
@@ -1,11 +1,11 @@
|
|||||||
# Introduction
|
# Introduction
|
||||||
|
|
||||||
Sqliteviz is a single-page offline-first PWA for fully client-side visualisation of SQLite databases or CSV files.
|
Sqliteviz is a single-page offline-first PWA for fully client-side visualisation of SQLite databases, CSV, JSON or NDJSON files.
|
||||||
|
|
||||||
With sqliteviz you can:
|
With sqliteviz you can:
|
||||||
|
|
||||||
- run SQL queries against a SQLite database and create Plotly charts and pivot tables based on the result sets
|
- run SQL queries against a SQLite database and create Plotly charts and pivot tables based on the result sets
|
||||||
- import a CSV file into a SQLite database and visualize imported data
|
- import a CSV, JSON or NDJSON file into a SQLite database and visualize imported data
|
||||||
- export result set to CSV file
|
- export result set to CSV file
|
||||||
- manage inquiries and run them against different databases
|
- manage inquiries and run them against different databases
|
||||||
- import/export inquiries from/to a JSON file
|
- import/export inquiries from/to a JSON file
|
||||||
|
|||||||
Reference in New Issue
Block a user