Deleting a Schema Definition Using Connection Properties
If necessary, you can delete a schema definition from a Couchbase database.
Important:
This operation cannot be undone. It is recommended that you back up the schema definition by exporting it to a local JSON file before deleting it from the database. For information about how to export a schema definition, see Exporting a Schema Definition Using Connection Properties.
You can set the connection properties described below in a connection stringodbc.ini
file). Settings in the connection string take precedence over
settings in the DSN
To delete a schema definition using connection properties:
- Set the
SchemaMapOperation
property to4
and then connect to the database.
When you connect to the database using this setting, the connector deletes the schema definition.
- Working with Schema Definitions Using Connection Properties
- Schema Definitions
- Creating a Data Source Name
- Configuring a DSN-less Connection
- Using a Connection String
- Driver Configuration Options on page 1