(value bool)
| 2037 | } |
| 2038 | |
| 2039 | func (context *DatabaseContext) SetUserViewsEnabled(value bool) { |
| 2040 | if context.Options.UnsupportedOptions == nil { |
| 2041 | context.Options.UnsupportedOptions = &UnsupportedOptions{} |
| 2042 | } |
| 2043 | if context.Options.UnsupportedOptions.UserViews == nil { |
| 2044 | context.Options.UnsupportedOptions.UserViews = &UserViewsOptions{} |
| 2045 | } |
| 2046 | context.Options.UnsupportedOptions.UserViews.Enabled = &value |
| 2047 | } |
| 2048 | |
| 2049 | func initDatabaseStats(ctx context.Context, dbName string, autoImport bool, options DatabaseContextOptions) (*base.DbStats, error) { |
| 2050 |
no outgoing calls