databases_post_schemas_scan {civis}R Documentation

Creates and enqueues a schema scanner job

Description

Creates and enqueues a schema scanner job

Usage

databases_post_schemas_scan(id, schema, stats_priority = NULL)

Arguments

id

integer required. The ID of the database.

schema

string required. The name of the schema.

stats_priority

string optional. When to sync table statistics for every table in the schema. Valid options are the following. Option: 'flag' means to flag stats for the next scheduled run of a full table scan on the database. Option: 'block' means to block this job on stats syncing. Option: 'queue' means to queue a separate job for syncing stats and do not block this job on the queued job. Defaults to 'flag'

Value

A list containing the following elements:

jobId

integer, The ID of the job created.

runId

integer, The ID of the run created.


[Package civis version 3.0.0 Index]