sql

Package
github.com/cs3org/reva/v3/pkg/projects/manager/sql
Source
pkg/projects/manager/sql · Go reference

Enable it

Select the driver in the service that uses it, and put its settings in the driver's own table:

[grpc.services.spacesregistry]
driver = "sql"

[grpc.services.spacesregistry.drivers.sql]
# settings below
This package has no documentation yet. Add a package doc comment or a README.md in pkg/projects/manager/sql, then run make gen-doc.

Configuration

KeyTypeDefaultDescription
Includes the settings of config.Database.
cache_ttlint-CacheTTL (seconds) determines how long the list of projects will be stored in a cache before a new database query is executed. The default, 0, corresponds to 60 seconds. source