Documentation ¶
Index ¶
- Variables
- func SetDefault(db *gorm.DB, opts ...gen.DOOption)
- 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 ¶
View Source
var ( Q = new(Query) Agent *agent Behavior *behavior Bot *bot Channel *channel Config *config Counter *counter CounterRecord *counterRecord Cycle *cycle Dag *dag Data *data Fileupload *fileupload Form *form Instruct *instruct Job *job KeyResult *keyResult KeyResultValue *keyResultValue Message *message OAuth *oAuth Objective *objective Page *page Parameter *parameter Platform *platform PlatformBot *platformBot PlatformChannel *platformChannel PlatformChannelUser *platformChannelUser PlatformUser *platformUser Review *review ReviewEvaluation *reviewEvaluation SchemaMigration *schemaMigration Step *step Todo *todo Topic *topic User *user Webhook *webhook Workflow *workflow WorkflowScript *workflowScript WorkflowTrigger *workflowTrigger )
Functions ¶
Types ¶
type Query ¶
type Query struct { Agent agent Behavior behavior Bot bot Channel channel Config config Counter counter CounterRecord counterRecord Cycle cycle Dag dag Data data Fileupload fileupload Form form Instruct instruct Job job KeyResult keyResult KeyResultValue keyResultValue Message message OAuth oAuth Objective objective Page page Parameter parameter Platform platform PlatformBot platformBot PlatformChannel platformChannel PlatformChannelUser platformChannelUser PlatformUser platformUser Review review ReviewEvaluation reviewEvaluation SchemaMigration schemaMigration Step step Todo todo Topic topic User user Webhook webhook Workflow workflow WorkflowScript workflowScript WorkflowTrigger workflowTrigger // contains filtered or unexported fields }
func (*Query) Transaction ¶
func (*Query) WithContext ¶
type QueryTx ¶
func (*QueryTx) RollbackTo ¶
Source Files ¶
- agents.gen.go
- behavior.gen.go
- bots.gen.go
- channels.gen.go
- configs.gen.go
- counter_records.gen.go
- counters.gen.go
- cycles.gen.go
- dag.gen.go
- data.gen.go
- fileuploads.gen.go
- form.gen.go
- gen.go
- instruct.gen.go
- jobs.gen.go
- key_result_values.gen.go
- key_results.gen.go
- messages.gen.go
- oauth.gen.go
- objectives.gen.go
- pages.gen.go
- parameter.gen.go
- platform_bots.gen.go
- platform_channel_users.gen.go
- platform_channels.gen.go
- platform_users.gen.go
- platforms.gen.go
- review_evaluations.gen.go
- reviews.gen.go
- schema_migrations.gen.go
- steps.gen.go
- todos.gen.go
- topics.gen.go
- urls.gen.go
- users.gen.go
- webhook.gen.go
- workflow.gen.go
- workflow_script.gen.go
- workflow_trigger.gen.go
Click to show internal directories.
Click to hide internal directories.