5 điểm bởi xguru 2020-07-05 | Chưa có bình luận nào. | Chia sẻ qua WhatsApp
  • Triển khai nội dung của repo thành Virtual Table của SQLite bằng go-git

  • Có thể dùng như gitqlite "SELECT * from commits"

  • Bảng & trường:

→ commits : id, message, summary, author, commiter, parent_id..

→ files : commit_id, name, type, contents..

→ refs : name, type, hash

  • SELECT count(*) AS commits, SUM(additions) AS additions, SUM(deletions) AS deletions, author_email FROM commits GROUP BY author_email ORDER BY commits

Chưa có bình luận nào.

Chưa có bình luận nào.