Documentation ¶
Index ¶
- type Query
- func (q *Query) Available() bool
- func (q *Query) Begin(opts ...*sql.TxOptions) *QueryTx
- func (q *Query) ReadDB() *Query
- func (q *Query) ReplaceDB(db *gorm.DB) *Query
- func (q *Query) Transaction(fc func(tx *Query) error, opts ...*sql.TxOptions) error
- func (q *Query) WithContext(ctx context.Context) *queryCtx
- func (q *Query) WriteDB() *Query
- type QueryTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
type Query struct { AccessToken accessToken Cast cast Character character CharacterSubjects characterSubjects EpCollection epCollection Episode episode Friend friend Index index IndexCollect indexCollect IndexSubject indexSubject Member member Notification notification NotificationField notificationField Person person PersonField personField PersonSubjects personSubjects PrivateMessage privateMessage RevisionHistory revisionHistory RevisionText revisionText Subject subject SubjectCollection subjectCollection SubjectField subjectField SubjectRelation subjectRelation SubjectRevision subjectRevision UserGroup userGroup WebSession webSession // contains filtered or unexported fields }
func (*Query) Transaction ¶
func (*Query) WithContext ¶
type QueryTx ¶
func (*QueryTx) RollbackTo ¶
Source Files ¶
- chii_characters.gen.go
- chii_crt_cast_index.gen.go
- chii_crt_subject_index.gen.go
- chii_ep_status.gen.go
- chii_episodes.gen.go
- chii_friends.gen.go
- chii_index.gen.go
- chii_index_collects.gen.go
- chii_index_related.gen.go
- chii_members.gen.go
- chii_notify.gen.go
- chii_notify_field.gen.go
- chii_oauth_access_tokens.gen.go
- chii_os_web_sessions.gen.go
- chii_person_cs_index.gen.go
- chii_person_fields.gen.go
- chii_persons.gen.go
- chii_pms.gen.go
- chii_rev_history.gen.go
- chii_rev_text.gen.go
- chii_subject_fields.gen.go
- chii_subject_interests.gen.go
- chii_subject_relations.gen.go
- chii_subject_revisions.gen.go
- chii_subjects.gen.go
- chii_usergroup.gen.go
- gen.go
Click to show internal directories.
Click to hide internal directories.