RepositoryCGRHy Lạp
Florents-Tselai

Florents-Tselai/liteJQ

jq extension for SQLite.

106sao
3fork
4issue
2lượt xem

🧩 liteJQ: mang sức mạnh của jq vào SQLite

Một extension nhỏ gọn bằng C, biến SQLite thành cỗ máy truy vấn JSON mạnh mẽ như jq.

liteJQ là một extension cho SQLite, viết bằng ngôn ngữ C, sử dụng thư viện libjq chuẩn để hỗ trợ truy vấn JSON phong phú trực tiếp trong SQL. Dự án giúp giảm đau khi viết các truy vấn JSON phức tạp trên SQLite, nơi mà hỗ trợ JSON gốc thường cảm thấy hạn chế.

✨ Điểm nổi bật

  • Hàm jq(json, jqprog): hỗ trợ đầy đủ cú pháp jq trong SQL.
  • Dựa trên libjq chuẩn: không dùng bất kỳ fork nào, đảm bảo tính tương thích cao.
  • Cài đặt đơn giản bằng make: biên dịch thành file .so/.dylib, load tại runtime.
  • Hỗ trợ trên Linux và macOS: hướng dẫn cài đặt chi tiết cho cả hai hệ điều hành.
  • Tích hợp tốt với SQLite: dùng như một hàm thông thường trong mọi truy vấn SQL.
  • Ví dụ thực tế: xử lý dữ liệu JSON phức tạp như lọc theo thể loại, năm, tên diễn viên...

💡 Vì sao đáng chú ý

SQLite đã hỗ trợ JSON từ lâu, nhưng các truy vấn phức tạp thường rất cồng kềnh. liteJQ giải quyết vấn đề này bằng cách mang toàn bộ sức mạnh của jq — ngôn ngữ truy vấn JSON mạnh mẽ — vào SQLite thông qua một extension nhẹ. Với một hàm jq() duy nhất, người dùng có thể thực hiện lọc, biến đổi, nhóm và tìm kiếm dữ liệu JSON một cách trực quan, giống như đang dùng jq trên dòng lệnh.


#jq #SQLite #JSON #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
simonw/datasette

An open source multi-tool for exploring and publishing data

11.7k
Dec 1, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryTypeScript
firecrawl/firecrawl

Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.

215.1k
Dec 2, 2026
RepositoryJavaScript
trekhleb/javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

196.8k
Jul 26, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Oct 31, 2026
Repository
Developer-Y/cs-video-courses

List of Computer Science courses with video lectures.

85.1k
Nov 28, 2026
RepositoryPHP
coollabsio/coolify

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

67.4k
Dec 1, 2026
RepositoryTypeScript
nocodb/nocodb

🔥 🔥 🔥 A Free & Self-hostable Airtable Alternative

65.7k
Nov 30, 2026