Versions in this module Expand all Collapse all v0 v0.7.2 May 4, 2026 v0.7.1 May 3, 2026 v0.7.0 May 1, 2026 v0.6.4 Apr 23, 2026 v0.6.3 Apr 14, 2026 v0.6.2 Apr 14, 2026 v0.6.1 Apr 4, 2026 v0.6.0 Mar 31, 2026 Changes in this version + type Blob struct + CommentsParsed int64 + ContentHash string + ID int64 + Language sql.NullString + Parsed int64 + type Comment struct + BlobID int64 + Col int64 + EndCol int64 + EndLine int64 + ID int64 + Kind string + Line int64 + Text string + type Commit struct + Author sql.NullString + Hash string + ID int64 + Message sql.NullString + RepoID int64 + Timestamp sql.NullInt64 + type CommitParent struct + CommitID int64 + ParentID int64 + type DBTX interface + ExecContext func(context.Context, string, ...interface{}) (sql.Result, error) + PrepareContext func(context.Context, string) (*sql.Stmt, error) + QueryContext func(context.Context, string, ...interface{}) (*sql.Rows, error) + QueryRowContext func(context.Context, string, ...interface{}) *sql.Row + type Diff struct + CommitID int64 + ID int64 + NewBlobID sql.NullInt64 + OldBlobID sql.NullInt64 + Path string + type FileRev struct + BlobID int64 + CommitID int64 + ID int64 + Path string + type GetDiffIDByCommitPathParams struct + CommitID int64 + Path string + type GithubFileMtime struct + MtimeUnix int64 + SourcePath string + type InsertBlobParams struct + ContentHash string + Language sql.NullString + type InsertCommitParams struct + Author sql.NullString + Hash string + Message sql.NullString + RepoID int64 + Timestamp sql.NullInt64 + type InsertCommitParentParams struct + CommitID int64 + ParentID int64 + type InsertDiffParams struct + CommitID int64 + NewBlobID sql.NullInt64 + OldBlobID sql.NullInt64 + Path string + type InsertFileRevParams struct + BlobID int64 + CommitID int64 + Path string + type InsertIssueCommentParams struct + Author sql.NullString + Body sql.NullString + CreatedAt sql.NullInt64 + IssueID int64 + type InsertIssueParams struct + Author sql.NullString + Body sql.NullString + ClosedAt sql.NullInt64 + CreatedAt sql.NullInt64 + Labels sql.NullString + Number int64 + SourcePath sql.NullString + State string + Title string + UpdatedAt sql.NullInt64 + Url sql.NullString + type InsertPRCommentParams struct + Author sql.NullString + Body sql.NullString + CreatedAt sql.NullInt64 + Line sql.NullInt64 + Path sql.NullString + PrID int64 + type InsertPRCommitParams struct + PrID int64 + Sha string + type InsertPullRequestParams struct + Author sql.NullString + Body sql.NullString + ClosedAt sql.NullInt64 + CreatedAt sql.NullInt64 + Labels sql.NullString + MergeCommit sql.NullString + MergedAt sql.NullInt64 + Number int64 + SourcePath sql.NullString + State string + Title string + UpdatedAt sql.NullInt64 + Url sql.NullString + type Issue struct + Author sql.NullString + Body sql.NullString + ClosedAt sql.NullInt64 + CreatedAt sql.NullInt64 + ID int64 + Labels sql.NullString + Number int64 + SourcePath sql.NullString + State string + Title string + UpdatedAt sql.NullInt64 + Url sql.NullString + type IssueComment struct + Author sql.NullString + Body sql.NullString + CreatedAt sql.NullInt64 + ID int64 + IssueID int64 + type ListRefsByRepoRow struct + Hash string + Name string + type PrComment struct + Author sql.NullString + Body sql.NullString + CreatedAt sql.NullInt64 + ID int64 + Line sql.NullInt64 + Path sql.NullString + PrID int64 + type PrCommit struct + ID int64 + PrID int64 + Sha string + type PullRequest struct + Author sql.NullString + Body sql.NullString + ClosedAt sql.NullInt64 + CreatedAt sql.NullInt64 + ID int64 + Labels sql.NullString + MergeCommit sql.NullString + MergedAt sql.NullInt64 + Number int64 + SourcePath sql.NullString + State string + Title string + UpdatedAt sql.NullInt64 + Url sql.NullString + type Queries struct + func New(db DBTX) *Queries + func (q *Queries) DeleteFileRevsByCommit(ctx context.Context, commitID int64) error + func (q *Queries) DeleteIssue(ctx context.Context, id int64) error + func (q *Queries) DeleteIssueCommentsByIssue(ctx context.Context, issueID int64) error + func (q *Queries) DeletePRCommentsByPR(ctx context.Context, prID int64) error + func (q *Queries) DeletePRCommitsByPR(ctx context.Context, prID int64) error + func (q *Queries) DeletePullRequest(ctx context.Context, id int64) error + func (q *Queries) GetBlobIDByHash(ctx context.Context, contentHash string) (int64, error) + func (q *Queries) GetCommitIDByHash(ctx context.Context, hash string) (int64, error) + func (q *Queries) GetDiffIDByCommitPath(ctx context.Context, arg GetDiffIDByCommitPathParams) (int64, error) + func (q *Queries) GetIssueIDByNumber(ctx context.Context, number int64) (int64, error) + func (q *Queries) GetPRIDByNumber(ctx context.Context, number int64) (int64, error) + func (q *Queries) GetRepoIDByName(ctx context.Context, name string) (int64, error) + func (q *Queries) InsertBlob(ctx context.Context, arg InsertBlobParams) error + func (q *Queries) InsertCommit(ctx context.Context, arg InsertCommitParams) error + func (q *Queries) InsertCommitParent(ctx context.Context, arg InsertCommitParentParams) error + func (q *Queries) InsertDiff(ctx context.Context, arg InsertDiffParams) error + func (q *Queries) InsertFileRev(ctx context.Context, arg InsertFileRevParams) error + func (q *Queries) InsertIssue(ctx context.Context, arg InsertIssueParams) (sql.Result, error) + func (q *Queries) InsertIssueComment(ctx context.Context, arg InsertIssueCommentParams) error + func (q *Queries) InsertPRComment(ctx context.Context, arg InsertPRCommentParams) error + func (q *Queries) InsertPRCommit(ctx context.Context, arg InsertPRCommitParams) error + func (q *Queries) InsertPullRequest(ctx context.Context, arg InsertPullRequestParams) (sql.Result, error) + func (q *Queries) ListCommitHashesByRepo(ctx context.Context, repoID int64) ([]string, error) + func (q *Queries) ListFileMtimes(ctx context.Context) ([]GithubFileMtime, error) + func (q *Queries) ListRefsByRepo(ctx context.Context, repoID int64) ([]ListRefsByRepoRow, error) + func (q *Queries) ListRepoPaths(ctx context.Context) ([]string, error) + func (q *Queries) MarkBlobCommentsParsed(ctx context.Context, id int64) error + func (q *Queries) MarkBlobParsed(ctx context.Context, id int64) error + func (q *Queries) UpdateSymbolParent(ctx context.Context, arg UpdateSymbolParentParams) error + func (q *Queries) UpsertFileMtime(ctx context.Context, arg UpsertFileMtimeParams) error + func (q *Queries) UpsertRef(ctx context.Context, arg UpsertRefParams) error + func (q *Queries) UpsertRepo(ctx context.Context, arg UpsertRepoParams) error + func (q *Queries) WithTx(tx *sql.Tx) *Queries + type Ref struct + CommitID int64 + ID int64 + Name string + RepoID int64 + type Repo struct + ID int64 + Name string + Path string + type Symbol struct + BlobID int64 + Col int64 + EndCol sql.NullInt64 + EndLine sql.NullInt64 + ID int64 + Kind string + Line int64 + Name string + Params sql.NullString + ParentID sql.NullInt64 + ReturnType sql.NullString + Signature sql.NullString + type SymbolRef struct + BlobID int64 + Col int64 + ID int64 + Kind string + Line int64 + RefName string + SymbolID sql.NullInt64 + type UpdateSymbolParentParams struct + ID int64 + ParentID sql.NullInt64 + type UpsertFileMtimeParams struct + MtimeUnix int64 + SourcePath string + type UpsertRefParams struct + CommitID int64 + Name string + RepoID int64 + type UpsertRepoParams struct + Name string + Path string