Search Git log by SQL
-
select *
-
select column1, column2
-
where and or
-
order by asc desc
-
limit N
// example/base.js
import { GitSqlClient } from 'git-sql-log';
const gitSqlClient = new GitSqlClient({});
const res = await gitSqlClient.query('select * from log')
console.table(res)