mattn / mattn/go-sqlite3

feature request: sqlar

Open
#1,252 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
9.2k
Forks
1.2k
Avg merge
19m
Merged PRs (30d)
4

Description

sqlite has a feature called sqlar which allows one to use the database as a file store: https://www.sqlite.org/sqlar.html.

It means we need zlib and two SQL functions (sqlar_compress/sqlar_uncompress). I read the features section on the README but it's not clear how I would enable sqlar. How hard would it be to add this feature to go-sqlite3? With some guidance I am happy to do my first contribution. Many thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SQLite sqlar documentation linked in the issue and the features section of README, then trace how go-sqlite3 enables SQLite features and registers SQL functions. The change is complete when sqlar can be enabled in go-sqlite3 and the sqlar_compress and sqlar_uncompress functions work with the required zlib support.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sqlite
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.