<p>- ใช้ go-git เพื่อนำเนื้อหาของ Repo มาใช้งานเป็น Virtual Table ของ SQLite <br /> - สามารถใช้งานแบบ `gitqlite "SELECT * from commits"` ได้<br /> - ตารางและฟิลด์ : <br /> → commits : id, message, summary, author, commiter, parent_id..<br /> → files : commit_id, name, type, contents.. <br /> → refs : name, type, hash<br /> - `SELECT count(*) AS commits, SUM(additions) AS additions, SUM(deletions) AS deletions, author_email FROM commits GROUP BY author_email ORDER BY commits`</p>

ยังไม่มีความคิดเห็น

ยังไม่มีความคิดเห็น