Versions in this module Expand all Collapse all v0 v0.2.0 Aug 8, 2019 Changes in this version + var Schema = &schema + type Issue struct + AssigneeID int64 + AssigneeLogin string + AssigneesList []*UserReference + ClosedByID int64 + ClosedByLogin string + KallaxID int64 + LabelList []string + MilestoneID int64 + MilestoneTitle string + RepositoryName string + RepositoryOwner string + UserID int64 + UserLogin string + func NewIssue() (record *Issue) + func (i *Issue) BeforeSave() error + func (r *Issue) ColumnAddress(col string) (interface{}, error) + func (r *Issue) GetID() kallax.Identifier + func (r *Issue) NewRelationshipRecord(field string) (kallax.Record, error) + func (r *Issue) SetRelationship(field string, rel interface{}) error + func (r *Issue) Value(col string) (interface{}, error) + type IssueComment struct + IssueNumber int + KallaxID int64 + RepositoryName string + RepositoryOwner string + UserID int64 + UserLogin string + func NewIssueComment() (record *IssueComment) + func (i *IssueComment) BeforeSave() error + func (r *IssueComment) ColumnAddress(col string) (interface{}, error) + func (r *IssueComment) GetID() kallax.Identifier + func (r *IssueComment) NewRelationshipRecord(field string) (kallax.Record, error) + func (r *IssueComment) SetRelationship(field string, rel interface{}) error + func (r *IssueComment) Value(col string) (interface{}, error) + type IssueCommentQuery struct + func NewIssueCommentQuery() *IssueCommentQuery + func (q *IssueCommentQuery) BatchSize(size uint64) *IssueCommentQuery + func (q *IssueCommentQuery) Copy() *IssueCommentQuery + func (q *IssueCommentQuery) FindByCreatedAt(cond kallax.ScalarCond, v time.Time) *IssueCommentQuery + func (q *IssueCommentQuery) FindByIssueNumber(cond kallax.ScalarCond, v int) *IssueCommentQuery + func (q *IssueCommentQuery) FindByKallaxID(v ...int64) *IssueCommentQuery + func (q *IssueCommentQuery) FindByRepositoryName(v string) *IssueCommentQuery + func (q *IssueCommentQuery) FindByRepositoryOwner(v string) *IssueCommentQuery + func (q *IssueCommentQuery) FindByUpdatedAt(cond kallax.ScalarCond, v time.Time) *IssueCommentQuery + func (q *IssueCommentQuery) FindByUserID(cond kallax.ScalarCond, v int64) *IssueCommentQuery + func (q *IssueCommentQuery) FindByUserLogin(v string) *IssueCommentQuery + func (q *IssueCommentQuery) Limit(n uint64) *IssueCommentQuery + func (q *IssueCommentQuery) Offset(n uint64) *IssueCommentQuery + func (q *IssueCommentQuery) Order(cols ...kallax.ColumnOrder) *IssueCommentQuery + func (q *IssueCommentQuery) Select(columns ...kallax.SchemaField) *IssueCommentQuery + func (q *IssueCommentQuery) SelectNot(columns ...kallax.SchemaField) *IssueCommentQuery + func (q *IssueCommentQuery) Where(cond kallax.Condition) *IssueCommentQuery + type IssueCommentResultSet struct + ResultSet kallax.ResultSet + func NewIssueCommentResultSet(rs kallax.ResultSet) *IssueCommentResultSet + func (rs *IssueCommentResultSet) All() ([]*IssueComment, error) + func (rs *IssueCommentResultSet) Close() error + func (rs *IssueCommentResultSet) Err() error + func (rs *IssueCommentResultSet) ForEach(fn func(*IssueComment) error) error + func (rs *IssueCommentResultSet) Get() (*IssueComment, error) + func (rs *IssueCommentResultSet) Next() bool + func (rs *IssueCommentResultSet) One() (*IssueComment, error) + type IssueCommentStore struct + func NewIssueCommentStore(db *sql.DB) *IssueCommentStore + func (s *IssueCommentStore) Count(q *IssueCommentQuery) (int64, error) + func (s *IssueCommentStore) Debug() *IssueCommentStore + func (s *IssueCommentStore) DebugWith(logger kallax.LoggerFunc) *IssueCommentStore + func (s *IssueCommentStore) Delete(record *IssueComment) error + func (s *IssueCommentStore) DisableCacher() *IssueCommentStore + func (s *IssueCommentStore) Find(q *IssueCommentQuery) (*IssueCommentResultSet, error) + func (s *IssueCommentStore) FindAll(q *IssueCommentQuery) ([]*IssueComment, error) + func (s *IssueCommentStore) FindOne(q *IssueCommentQuery) (*IssueComment, error) + func (s *IssueCommentStore) GenericStore() *kallax.Store + func (s *IssueCommentStore) Insert(record *IssueComment) error + func (s *IssueCommentStore) MustCount(q *IssueCommentQuery) int64 + func (s *IssueCommentStore) MustFind(q *IssueCommentQuery) *IssueCommentResultSet + func (s *IssueCommentStore) MustFindOne(q *IssueCommentQuery) *IssueComment + func (s *IssueCommentStore) Reload(record *IssueComment) error + func (s *IssueCommentStore) Save(record *IssueComment) (updated bool, err error) + func (s *IssueCommentStore) SetGenericStore(store *kallax.Store) + func (s *IssueCommentStore) Transaction(callback func(*IssueCommentStore) error) error + func (s *IssueCommentStore) Update(record *IssueComment, cols ...kallax.SchemaField) (updated int64, err error) + type IssueQuery struct + func NewIssueQuery() *IssueQuery + func (q *IssueQuery) BatchSize(size uint64) *IssueQuery + func (q *IssueQuery) Copy() *IssueQuery + func (q *IssueQuery) FindByAssigneeID(cond kallax.ScalarCond, v int64) *IssueQuery + func (q *IssueQuery) FindByAssigneeLogin(v string) *IssueQuery + func (q *IssueQuery) FindByClosedAt(cond kallax.ScalarCond, v time.Time) *IssueQuery + func (q *IssueQuery) FindByClosedByID(cond kallax.ScalarCond, v int64) *IssueQuery + func (q *IssueQuery) FindByClosedByLogin(v string) *IssueQuery + func (q *IssueQuery) FindByCreatedAt(cond kallax.ScalarCond, v time.Time) *IssueQuery + func (q *IssueQuery) FindByKallaxID(v ...int64) *IssueQuery + func (q *IssueQuery) FindByLabelList(v ...string) *IssueQuery + func (q *IssueQuery) FindByMilestoneID(cond kallax.ScalarCond, v int64) *IssueQuery + func (q *IssueQuery) FindByMilestoneTitle(v string) *IssueQuery + func (q *IssueQuery) FindByRepositoryName(v string) *IssueQuery + func (q *IssueQuery) FindByRepositoryOwner(v string) *IssueQuery + func (q *IssueQuery) FindByUpdatedAt(cond kallax.ScalarCond, v time.Time) *IssueQuery + func (q *IssueQuery) FindByUserID(cond kallax.ScalarCond, v int64) *IssueQuery + func (q *IssueQuery) FindByUserLogin(v string) *IssueQuery + func (q *IssueQuery) Limit(n uint64) *IssueQuery + func (q *IssueQuery) Offset(n uint64) *IssueQuery + func (q *IssueQuery) Order(cols ...kallax.ColumnOrder) *IssueQuery + func (q *IssueQuery) Select(columns ...kallax.SchemaField) *IssueQuery + func (q *IssueQuery) SelectNot(columns ...kallax.SchemaField) *IssueQuery + func (q *IssueQuery) Where(cond kallax.Condition) *IssueQuery + type IssueResultSet struct + ResultSet kallax.ResultSet + func NewIssueResultSet(rs kallax.ResultSet) *IssueResultSet + func (rs *IssueResultSet) All() ([]*Issue, error) + func (rs *IssueResultSet) Close() error + func (rs *IssueResultSet) Err() error + func (rs *IssueResultSet) ForEach(fn func(*Issue) error) error + func (rs *IssueResultSet) Get() (*Issue, error) + func (rs *IssueResultSet) Next() bool + func (rs *IssueResultSet) One() (*Issue, error) + type IssueStore struct + func NewIssueStore(db *sql.DB) *IssueStore + func (s *IssueStore) Count(q *IssueQuery) (int64, error) + func (s *IssueStore) Debug() *IssueStore + func (s *IssueStore) DebugWith(logger kallax.LoggerFunc) *IssueStore + func (s *IssueStore) Delete(record *Issue) error + func (s *IssueStore) DisableCacher() *IssueStore + func (s *IssueStore) Find(q *IssueQuery) (*IssueResultSet, error) + func (s *IssueStore) FindAll(q *IssueQuery) ([]*Issue, error) + func (s *IssueStore) FindOne(q *IssueQuery) (*Issue, error) + func (s *IssueStore) GenericStore() *kallax.Store + func (s *IssueStore) Insert(record *Issue) error + func (s *IssueStore) MustCount(q *IssueQuery) int64 + func (s *IssueStore) MustFind(q *IssueQuery) *IssueResultSet + func (s *IssueStore) MustFindOne(q *IssueQuery) *Issue + func (s *IssueStore) Reload(record *Issue) error + func (s *IssueStore) Save(record *Issue) (updated bool, err error) + func (s *IssueStore) SetGenericStore(store *kallax.Store) + func (s *IssueStore) Transaction(callback func(*IssueStore) error) error + func (s *IssueStore) Update(record *Issue, cols ...kallax.SchemaField) (updated int64, err error) + type Organization struct + KallaxID int64 + func NewOrganization() (record *Organization) + func (o *Organization) BeforeSave() error + func (r *Organization) ColumnAddress(col string) (interface{}, error) + func (r *Organization) GetID() kallax.Identifier + func (r *Organization) NewRelationshipRecord(field string) (kallax.Record, error) + func (r *Organization) SetRelationship(field string, rel interface{}) error + func (r *Organization) Value(col string) (interface{}, error) + type OrganizationQuery struct + func NewOrganizationQuery() *OrganizationQuery + func (q *OrganizationQuery) BatchSize(size uint64) *OrganizationQuery + func (q *OrganizationQuery) Copy() *OrganizationQuery + func (q *OrganizationQuery) FindByCreatedAt(cond kallax.ScalarCond, v time.Time) *OrganizationQuery + func (q *OrganizationQuery) FindByKallaxID(v ...int64) *OrganizationQuery + func (q *OrganizationQuery) FindByUpdatedAt(cond kallax.ScalarCond, v time.Time) *OrganizationQuery + func (q *OrganizationQuery) Limit(n uint64) *OrganizationQuery + func (q *OrganizationQuery) Offset(n uint64) *OrganizationQuery + func (q *OrganizationQuery) Order(cols ...kallax.ColumnOrder) *OrganizationQuery + func (q *OrganizationQuery) Select(columns ...kallax.SchemaField) *OrganizationQuery + func (q *OrganizationQuery) SelectNot(columns ...kallax.SchemaField) *OrganizationQuery + func (q *OrganizationQuery) Where(cond kallax.Condition) *OrganizationQuery + type OrganizationResultSet struct + ResultSet kallax.ResultSet + func NewOrganizationResultSet(rs kallax.ResultSet) *OrganizationResultSet + func (rs *OrganizationResultSet) All() ([]*Organization, error) + func (rs *OrganizationResultSet) Close() error + func (rs *OrganizationResultSet) Err() error + func (rs *OrganizationResultSet) ForEach(fn func(*Organization) error) error + func (rs *OrganizationResultSet) Get() (*Organization, error) + func (rs *OrganizationResultSet) Next() bool + func (rs *OrganizationResultSet) One() (*Organization, error) + type OrganizationStore struct + func NewOrganizationStore(db *sql.DB) *OrganizationStore + func (s *OrganizationStore) Count(q *OrganizationQuery) (int64, error) + func (s *OrganizationStore) Debug() *OrganizationStore + func (s *OrganizationStore) DebugWith(logger kallax.LoggerFunc) *OrganizationStore + func (s *OrganizationStore) Delete(record *Organization) error + func (s *OrganizationStore) DisableCacher() *OrganizationStore + func (s *OrganizationStore) Find(q *OrganizationQuery) (*OrganizationResultSet, error) + func (s *OrganizationStore) FindAll(q *OrganizationQuery) ([]*Organization, error) + func (s *OrganizationStore) FindOne(q *OrganizationQuery) (*Organization, error) + func (s *OrganizationStore) GenericStore() *kallax.Store + func (s *OrganizationStore) Insert(record *Organization) error + func (s *OrganizationStore) MustCount(q *OrganizationQuery) int64 + func (s *OrganizationStore) MustFind(q *OrganizationQuery) *OrganizationResultSet + func (s *OrganizationStore) MustFindOne(q *OrganizationQuery) *Organization + func (s *OrganizationStore) Reload(record *Organization) error + func (s *OrganizationStore) Save(record *Organization) (updated bool, err error) + func (s *OrganizationStore) SetGenericStore(store *kallax.Store) + func (s *OrganizationStore) Transaction(callback func(*OrganizationStore) error) error + func (s *OrganizationStore) Update(record *Organization, cols ...kallax.SchemaField) (updated int64, err error) + type PullRequest struct + AssigneeID int64 + AssigneeLogin string + AssigneesList []*UserReference + BaseLabel string + BaseRef string + BaseRepositoryName string + BaseRepositoryOwner string + BaseSHA string + BaseUser string + HeadLabel string + HeadRef string + HeadRepositoryName string + HeadRepositoryOwner string + HeadSHA string + HeadUser string + KallaxID int64 + LabelList []string + MergedByID int64 + MergedByLogin string + MilestoneID int64 + MilestoneTitle string + RepositoryName string + RepositoryOwner string + RequestedReviewersList []*UserReference + UserID int64 + UserLogin string + func NewPullRequest() (record *PullRequest) + func (i *PullRequest) BeforeSave() error + func (r *PullRequest) ColumnAddress(col string) (interface{}, error) + func (r *PullRequest) GetID() kallax.Identifier + func (r *PullRequest) NewRelationshipRecord(field string) (kallax.Record, error) + func (r *PullRequest) SetRelationship(field string, rel interface{}) error + func (r *PullRequest) Value(col string) (interface{}, error) + type PullRequestComment struct + KallaxID int64 + PullRequestNumber int + RepositoryName string + RepositoryOwner string + UserID int64 + UserLogin string + func NewPullRequestComment() (record *PullRequestComment) + func (i *PullRequestComment) BeforeSave() error + func (r *PullRequestComment) ColumnAddress(col string) (interface{}, error) + func (r *PullRequestComment) GetID() kallax.Identifier + func (r *PullRequestComment) NewRelationshipRecord(field string) (kallax.Record, error) + func (r *PullRequestComment) SetRelationship(field string, rel interface{}) error + func (r *PullRequestComment) Value(col string) (interface{}, error) + type PullRequestCommentQuery struct + func NewPullRequestCommentQuery() *PullRequestCommentQuery + func (q *PullRequestCommentQuery) BatchSize(size uint64) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) Copy() *PullRequestCommentQuery + func (q *PullRequestCommentQuery) FindByCreatedAt(cond kallax.ScalarCond, v time.Time) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) FindByKallaxID(v ...int64) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) FindByPullRequestNumber(cond kallax.ScalarCond, v int) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) FindByRepositoryName(v string) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) FindByRepositoryOwner(v string) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) FindByUpdatedAt(cond kallax.ScalarCond, v time.Time) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) FindByUserID(cond kallax.ScalarCond, v int64) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) FindByUserLogin(v string) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) Limit(n uint64) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) Offset(n uint64) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) Order(cols ...kallax.ColumnOrder) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) Select(columns ...kallax.SchemaField) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) SelectNot(columns ...kallax.SchemaField) *PullRequestCommentQuery + func (q *PullRequestCommentQuery) Where(cond kallax.Condition) *PullRequestCommentQuery + type PullRequestCommentResultSet struct + ResultSet kallax.ResultSet + func NewPullRequestCommentResultSet(rs kallax.ResultSet) *PullRequestCommentResultSet + func (rs *PullRequestCommentResultSet) All() ([]*PullRequestComment, error) + func (rs *PullRequestCommentResultSet) Close() error + func (rs *PullRequestCommentResultSet) Err() error + func (rs *PullRequestCommentResultSet) ForEach(fn func(*PullRequestComment) error) error + func (rs *PullRequestCommentResultSet) Get() (*PullRequestComment, error) + func (rs *PullRequestCommentResultSet) Next() bool + func (rs *PullRequestCommentResultSet) One() (*PullRequestComment, error) + type PullRequestCommentStore struct + func NewPullRequestCommentStore(db *sql.DB) *PullRequestCommentStore + func (s *PullRequestCommentStore) Count(q *PullRequestCommentQuery) (int64, error) + func (s *PullRequestCommentStore) Debug() *PullRequestCommentStore + func (s *PullRequestCommentStore) DebugWith(logger kallax.LoggerFunc) *PullRequestCommentStore + func (s *PullRequestCommentStore) Delete(record *PullRequestComment) error + func (s *PullRequestCommentStore) DisableCacher() *PullRequestCommentStore + func (s *PullRequestCommentStore) Find(q *PullRequestCommentQuery) (*PullRequestCommentResultSet, error) + func (s *PullRequestCommentStore) FindAll(q *PullRequestCommentQuery) ([]*PullRequestComment, error) + func (s *PullRequestCommentStore) FindOne(q *PullRequestCommentQuery) (*PullRequestComment, error) + func (s *PullRequestCommentStore) GenericStore() *kallax.Store + func (s *PullRequestCommentStore) Insert(record *PullRequestComment) error + func (s *PullRequestCommentStore) MustCount(q *PullRequestCommentQuery) int64 + func (s *PullRequestCommentStore) MustFind(q *PullRequestCommentQuery) *PullRequestCommentResultSet + func (s *PullRequestCommentStore) MustFindOne(q *PullRequestCommentQuery) *PullRequestComment + func (s *PullRequestCommentStore) Reload(record *PullRequestComment) error + func (s *PullRequestCommentStore) Save(record *PullRequestComment) (updated bool, err error) + func (s *PullRequestCommentStore) SetGenericStore(store *kallax.Store) + func (s *PullRequestCommentStore) Transaction(callback func(*PullRequestCommentStore) error) error + func (s *PullRequestCommentStore) Update(record *PullRequestComment, cols ...kallax.SchemaField) (updated int64, err error) + type PullRequestQuery struct + func NewPullRequestQuery() *PullRequestQuery + func (q *PullRequestQuery) BatchSize(size uint64) *PullRequestQuery + func (q *PullRequestQuery) Copy() *PullRequestQuery + func (q *PullRequestQuery) FindByAssigneeID(cond kallax.ScalarCond, v int64) *PullRequestQuery + func (q *PullRequestQuery) FindByAssigneeLogin(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByBaseLabel(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByBaseRef(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByBaseRepositoryName(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByBaseRepositoryOwner(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByBaseSHA(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByBaseUser(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByClosedAt(cond kallax.ScalarCond, v time.Time) *PullRequestQuery + func (q *PullRequestQuery) FindByCreatedAt(cond kallax.ScalarCond, v time.Time) *PullRequestQuery + func (q *PullRequestQuery) FindByHeadLabel(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByHeadRef(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByHeadRepositoryName(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByHeadRepositoryOwner(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByHeadSHA(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByHeadUser(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByKallaxID(v ...int64) *PullRequestQuery + func (q *PullRequestQuery) FindByLabelList(v ...string) *PullRequestQuery + func (q *PullRequestQuery) FindByMergedAt(cond kallax.ScalarCond, v time.Time) *PullRequestQuery + func (q *PullRequestQuery) FindByMergedByID(cond kallax.ScalarCond, v int64) *PullRequestQuery + func (q *PullRequestQuery) FindByMergedByLogin(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByMilestoneID(cond kallax.ScalarCond, v int64) *PullRequestQuery + func (q *PullRequestQuery) FindByMilestoneTitle(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByRepositoryName(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByRepositoryOwner(v string) *PullRequestQuery + func (q *PullRequestQuery) FindByUpdatedAt(cond kallax.ScalarCond, v time.Time) *PullRequestQuery + func (q *PullRequestQuery) FindByUserID(cond kallax.ScalarCond, v int64) *PullRequestQuery + func (q *PullRequestQuery) FindByUserLogin(v string) *PullRequestQuery + func (q *PullRequestQuery) Limit(n uint64) *PullRequestQuery + func (q *PullRequestQuery) Offset(n uint64) *PullRequestQuery + func (q *PullRequestQuery) Order(cols ...kallax.ColumnOrder) *PullRequestQuery + func (q *PullRequestQuery) Select(columns ...kallax.SchemaField) *PullRequestQuery + func (q *PullRequestQuery) SelectNot(columns ...kallax.SchemaField) *PullRequestQuery + func (q *PullRequestQuery) Where(cond kallax.Condition) *PullRequestQuery + type PullRequestResultSet struct + ResultSet kallax.ResultSet + func NewPullRequestResultSet(rs kallax.ResultSet) *PullRequestResultSet + func (rs *PullRequestResultSet) All() ([]*PullRequest, error) + func (rs *PullRequestResultSet) Close() error + func (rs *PullRequestResultSet) Err() error + func (rs *PullRequestResultSet) ForEach(fn func(*PullRequest) error) error + func (rs *PullRequestResultSet) Get() (*PullRequest, error) + func (rs *PullRequestResultSet) Next() bool + func (rs *PullRequestResultSet) One() (*PullRequest, error) + type PullRequestReview struct + KallaxID int64 + PullRequestNumber int + RepositoryName string + RepositoryOwner string + UserID int64 + UserLogin string + func NewPullRequestReview() (record *PullRequestReview) + func (i *PullRequestReview) BeforeSave() error + func (r *PullRequestReview) ColumnAddress(col string) (interface{}, error) + func (r *PullRequestReview) GetID() kallax.Identifier + func (r *PullRequestReview) NewRelationshipRecord(field string) (kallax.Record, error) + func (r *PullRequestReview) SetRelationship(field string, rel interface{}) error + func (r *PullRequestReview) Value(col string) (interface{}, error) + type PullRequestReviewQuery struct + func NewPullRequestReviewQuery() *PullRequestReviewQuery + func (q *PullRequestReviewQuery) BatchSize(size uint64) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) Copy() *PullRequestReviewQuery + func (q *PullRequestReviewQuery) FindByKallaxID(v ...int64) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) FindByPullRequestNumber(cond kallax.ScalarCond, v int) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) FindByRepositoryName(v string) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) FindByRepositoryOwner(v string) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) FindBySubmittedAt(cond kallax.ScalarCond, v time.Time) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) FindByUserID(cond kallax.ScalarCond, v int64) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) FindByUserLogin(v string) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) Limit(n uint64) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) Offset(n uint64) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) Order(cols ...kallax.ColumnOrder) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) Select(columns ...kallax.SchemaField) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) SelectNot(columns ...kallax.SchemaField) *PullRequestReviewQuery + func (q *PullRequestReviewQuery) Where(cond kallax.Condition) *PullRequestReviewQuery + type PullRequestReviewResultSet struct + ResultSet kallax.ResultSet + func NewPullRequestReviewResultSet(rs kallax.ResultSet) *PullRequestReviewResultSet + func (rs *PullRequestReviewResultSet) All() ([]*PullRequestReview, error) + func (rs *PullRequestReviewResultSet) Close() error + func (rs *PullRequestReviewResultSet) Err() error + func (rs *PullRequestReviewResultSet) ForEach(fn func(*PullRequestReview) error) error + func (rs *PullRequestReviewResultSet) Get() (*PullRequestReview, error) + func (rs *PullRequestReviewResultSet) Next() bool + func (rs *PullRequestReviewResultSet) One() (*PullRequestReview, error) + type PullRequestReviewStore struct + func NewPullRequestReviewStore(db *sql.DB) *PullRequestReviewStore + func (s *PullRequestReviewStore) Count(q *PullRequestReviewQuery) (int64, error) + func (s *PullRequestReviewStore) Debug() *PullRequestReviewStore + func (s *PullRequestReviewStore) DebugWith(logger kallax.LoggerFunc) *PullRequestReviewStore + func (s *PullRequestReviewStore) Delete(record *PullRequestReview) error + func (s *PullRequestReviewStore) DisableCacher() *PullRequestReviewStore + func (s *PullRequestReviewStore) Find(q *PullRequestReviewQuery) (*PullRequestReviewResultSet, error) + func (s *PullRequestReviewStore) FindAll(q *PullRequestReviewQuery) ([]*PullRequestReview, error) + func (s *PullRequestReviewStore) FindOne(q *PullRequestReviewQuery) (*PullRequestReview, error) + func (s *PullRequestReviewStore) GenericStore() *kallax.Store + func (s *PullRequestReviewStore) Insert(record *PullRequestReview) error + func (s *PullRequestReviewStore) MustCount(q *PullRequestReviewQuery) int64 + func (s *PullRequestReviewStore) MustFind(q *PullRequestReviewQuery) *PullRequestReviewResultSet + func (s *PullRequestReviewStore) MustFindOne(q *PullRequestReviewQuery) *PullRequestReview + func (s *PullRequestReviewStore) Reload(record *PullRequestReview) error + func (s *PullRequestReviewStore) Save(record *PullRequestReview) (updated bool, err error) + func (s *PullRequestReviewStore) SetGenericStore(store *kallax.Store) + func (s *PullRequestReviewStore) Transaction(callback func(*PullRequestReviewStore) error) error + func (s *PullRequestReviewStore) Update(record *PullRequestReview, cols ...kallax.SchemaField) (updated int64, err error) + type PullRequestStore struct + func NewPullRequestStore(db *sql.DB) *PullRequestStore + func (s *PullRequestStore) Count(q *PullRequestQuery) (int64, error) + func (s *PullRequestStore) Debug() *PullRequestStore + func (s *PullRequestStore) DebugWith(logger kallax.LoggerFunc) *PullRequestStore + func (s *PullRequestStore) Delete(record *PullRequest) error + func (s *PullRequestStore) DisableCacher() *PullRequestStore + func (s *PullRequestStore) Find(q *PullRequestQuery) (*PullRequestResultSet, error) + func (s *PullRequestStore) FindAll(q *PullRequestQuery) ([]*PullRequest, error) + func (s *PullRequestStore) FindOne(q *PullRequestQuery) (*PullRequest, error) + func (s *PullRequestStore) GenericStore() *kallax.Store + func (s *PullRequestStore) Insert(record *PullRequest) error + func (s *PullRequestStore) MustCount(q *PullRequestQuery) int64 + func (s *PullRequestStore) MustFind(q *PullRequestQuery) *PullRequestResultSet + func (s *PullRequestStore) MustFindOne(q *PullRequestQuery) *PullRequest + func (s *PullRequestStore) Reload(record *PullRequest) error + func (s *PullRequestStore) Save(record *PullRequest) (updated bool, err error) + func (s *PullRequestStore) SetGenericStore(store *kallax.Store) + func (s *PullRequestStore) Transaction(callback func(*PullRequestStore) error) error + func (s *PullRequestStore) Update(record *PullRequest, cols ...kallax.SchemaField) (updated int64, err error) + type Repository struct + KallaxID int64 + OrganizationID int64 + OrganizationName string + OwnerID int64 + OwnerLogin string + OwnerType string + ParentRepository *RepositoryReference + SourceRepository *RepositoryReference + func NewRepository() (record *Repository) + func (r *Repository) BeforeSave() error + func (r *Repository) ColumnAddress(col string) (interface{}, error) + func (r *Repository) GetID() kallax.Identifier + func (r *Repository) NewRelationshipRecord(field string) (kallax.Record, error) + func (r *Repository) SetRelationship(field string, rel interface{}) error + func (r *Repository) Value(col string) (interface{}, error) + type RepositoryQuery struct + func NewRepositoryQuery() *RepositoryQuery + func (q *RepositoryQuery) BatchSize(size uint64) *RepositoryQuery + func (q *RepositoryQuery) Copy() *RepositoryQuery + func (q *RepositoryQuery) FindByCreatedAt(cond kallax.ScalarCond, v github.Timestamp) *RepositoryQuery + func (q *RepositoryQuery) FindByKallaxID(v ...int64) *RepositoryQuery + func (q *RepositoryQuery) FindByOrganizationID(cond kallax.ScalarCond, v int64) *RepositoryQuery + func (q *RepositoryQuery) FindByOrganizationName(v string) *RepositoryQuery + func (q *RepositoryQuery) FindByOwnerID(cond kallax.ScalarCond, v int64) *RepositoryQuery + func (q *RepositoryQuery) FindByOwnerLogin(v string) *RepositoryQuery + func (q *RepositoryQuery) FindByOwnerType(v string) *RepositoryQuery + func (q *RepositoryQuery) FindByPushedAt(cond kallax.ScalarCond, v github.Timestamp) *RepositoryQuery + func (q *RepositoryQuery) FindByTopics(v ...string) *RepositoryQuery + func (q *RepositoryQuery) FindByUpdatedAt(cond kallax.ScalarCond, v github.Timestamp) *RepositoryQuery + func (q *RepositoryQuery) Limit(n uint64) *RepositoryQuery + func (q *RepositoryQuery) Offset(n uint64) *RepositoryQuery + func (q *RepositoryQuery) Order(cols ...kallax.ColumnOrder) *RepositoryQuery + func (q *RepositoryQuery) Select(columns ...kallax.SchemaField) *RepositoryQuery + func (q *RepositoryQuery) SelectNot(columns ...kallax.SchemaField) *RepositoryQuery + func (q *RepositoryQuery) Where(cond kallax.Condition) *RepositoryQuery + type RepositoryReference struct + Fork bool + ID int64 + Name string + OwnerID int64 + OwnerLogin string + OwnerType string + Size int + func NewRepositoryReference(r *github.Repository) *RepositoryReference + type RepositoryResultSet struct + ResultSet kallax.ResultSet + func NewRepositoryResultSet(rs kallax.ResultSet) *RepositoryResultSet + func (rs *RepositoryResultSet) All() ([]*Repository, error) + func (rs *RepositoryResultSet) Close() error + func (rs *RepositoryResultSet) Err() error + func (rs *RepositoryResultSet) ForEach(fn func(*Repository) error) error + func (rs *RepositoryResultSet) Get() (*Repository, error) + func (rs *RepositoryResultSet) Next() bool + func (rs *RepositoryResultSet) One() (*Repository, error) + type RepositoryStore struct + func NewRepositoryStore(db *sql.DB) *RepositoryStore + func (s *RepositoryStore) Count(q *RepositoryQuery) (int64, error) + func (s *RepositoryStore) Debug() *RepositoryStore + func (s *RepositoryStore) DebugWith(logger kallax.LoggerFunc) *RepositoryStore + func (s *RepositoryStore) Delete(record *Repository) error + func (s *RepositoryStore) DisableCacher() *RepositoryStore + func (s *RepositoryStore) Find(q *RepositoryQuery) (*RepositoryResultSet, error) + func (s *RepositoryStore) FindAll(q *RepositoryQuery) ([]*Repository, error) + func (s *RepositoryStore) FindOne(q *RepositoryQuery) (*Repository, error) + func (s *RepositoryStore) GenericStore() *kallax.Store + func (s *RepositoryStore) Insert(record *Repository) error + func (s *RepositoryStore) MustCount(q *RepositoryQuery) int64 + func (s *RepositoryStore) MustFind(q *RepositoryQuery) *RepositoryResultSet + func (s *RepositoryStore) MustFindOne(q *RepositoryQuery) *Repository + func (s *RepositoryStore) Reload(record *Repository) error + func (s *RepositoryStore) Save(record *Repository) (updated bool, err error) + func (s *RepositoryStore) SetGenericStore(store *kallax.Store) + func (s *RepositoryStore) Transaction(callback func(*RepositoryStore) error) error + func (s *RepositoryStore) Update(record *Repository, cols ...kallax.SchemaField) (updated int64, err error) + type User struct + KallaxID int64 + func NewUser() (record *User) + func (r *User) ColumnAddress(col string) (interface{}, error) + func (r *User) GetID() kallax.Identifier + func (r *User) NewRelationshipRecord(field string) (kallax.Record, error) + func (r *User) SetRelationship(field string, rel interface{}) error + func (r *User) Value(col string) (interface{}, error) + func (u *User) BeforeSave() error + type UserQuery struct + func NewUserQuery() *UserQuery + func (q *UserQuery) BatchSize(size uint64) *UserQuery + func (q *UserQuery) Copy() *UserQuery + func (q *UserQuery) FindByCreatedAt(cond kallax.ScalarCond, v github.Timestamp) *UserQuery + func (q *UserQuery) FindByKallaxID(v ...int64) *UserQuery + func (q *UserQuery) FindBySuspendedAt(cond kallax.ScalarCond, v github.Timestamp) *UserQuery + func (q *UserQuery) FindByUpdatedAt(cond kallax.ScalarCond, v github.Timestamp) *UserQuery + func (q *UserQuery) Limit(n uint64) *UserQuery + func (q *UserQuery) Offset(n uint64) *UserQuery + func (q *UserQuery) Order(cols ...kallax.ColumnOrder) *UserQuery + func (q *UserQuery) Select(columns ...kallax.SchemaField) *UserQuery + func (q *UserQuery) SelectNot(columns ...kallax.SchemaField) *UserQuery + func (q *UserQuery) Where(cond kallax.Condition) *UserQuery + type UserReference struct + ID int64 + Login string + func NewUserRefernceList(users []*github.User) []*UserReference + type UserResultSet struct + ResultSet kallax.ResultSet + func NewUserResultSet(rs kallax.ResultSet) *UserResultSet + func (rs *UserResultSet) All() ([]*User, error) + func (rs *UserResultSet) Close() error + func (rs *UserResultSet) Err() error + func (rs *UserResultSet) ForEach(fn func(*User) error) error + func (rs *UserResultSet) Get() (*User, error) + func (rs *UserResultSet) Next() bool + func (rs *UserResultSet) One() (*User, error) + type UserStore struct + func NewUserStore(db *sql.DB) *UserStore + func (s *UserStore) Count(q *UserQuery) (int64, error) + func (s *UserStore) Debug() *UserStore + func (s *UserStore) DebugWith(logger kallax.LoggerFunc) *UserStore + func (s *UserStore) Delete(record *User) error + func (s *UserStore) DisableCacher() *UserStore + func (s *UserStore) Find(q *UserQuery) (*UserResultSet, error) + func (s *UserStore) FindAll(q *UserQuery) ([]*User, error) + func (s *UserStore) FindOne(q *UserQuery) (*User, error) + func (s *UserStore) GenericStore() *kallax.Store + func (s *UserStore) Insert(record *User) error + func (s *UserStore) MustCount(q *UserQuery) int64 + func (s *UserStore) MustFind(q *UserQuery) *UserResultSet + func (s *UserStore) MustFindOne(q *UserQuery) *User + func (s *UserStore) Reload(record *User) error + func (s *UserStore) Save(record *User) (updated bool, err error) + func (s *UserStore) SetGenericStore(store *kallax.Store) + func (s *UserStore) Transaction(callback func(*UserStore) error) error + func (s *UserStore) Update(record *User, cols ...kallax.SchemaField) (updated int64, err error) v0.2.0-rc.2 Aug 2, 2019 v0.2.0-rc.1 Jul 19, 2019 v0.2.0-beta.3 Jul 17, 2019 v0.2.0-beta.2 Jun 21, 2019