Deleting a Schema Definition Using Connection Properties

If necessary, you can delete a schema definition from a Couchbase database.

Important:

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 string or in a DSN (in the odbc.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 to 4 and then connect to the database.

When you connect to the database using this setting, the connector deletes the schema definition.