https://github.com/h-sphere/sql-seal
https://github.com/h-sphere/sql-seal
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/h-sphere/sql-seal
- Owner: h-sphere
- License: mit
- Created: 2024-04-21T10:25:32.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-11-24T12:05:22.000Z (5 months ago)
- Last Synced: 2024-11-24T13:17:09.085Z (5 months ago)
- Language: TypeScript
- Size: 1.44 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - h-sphere/sql-seal - (TypeScript)
README
# Obsidian SQLSeal
SQLSeal allows to transform your CSV files located in your vault into fully-fledged SQL database. You can use SQL statements to query this data however you like.
## Installation
You can install plugin from the Community Plugins directly from Obsidian, just look for SQLSeal in the marketplace.
### Manual Instalation
To manually install the package, open [Releases](https://github.com/h-sphere/sql-seal/releases) and download .zip of the last one. Unzip it in your vault under `.obsidian/Plugins/sqlseal`.## Usage
Once you install the plugin, you can use it by creating `sqlseal` codeblocks in your notes. To create table base on the existing CSV file in your vault simply address it using the following command:```sql
TABLE transactions = file(transactions.csv)SELECT * FROM transactions LIMIT 10
```The code above will create table called `transactions` based on the `transactions.csv` file from your vault. Further you can refer to it using regular `SELECT` statements.
You can define multiple tables in a single snippet. You can also point to the tables defined in different snippets *within the same note* (for now tables stay local to the file).For more comprehensive documentation head to [hypersphere.blog/sql-seal](https://hypersphere.blog/sql-seal).
# Disclaimer
The plugin authors do not take any resposibility for any potential data loss. Always backup your files before usage. That said, plugin does not modify any files in the Vault so you should be fine :)# Stay in Touch!
If you have any questions about the project, ideas or want to share your use-cases, [join our Discord Channel](https://discord.gg/ZMRnFeAWXb)!