DROP MONGODB CONNECTION¶
DROP MONGODB CONNECTIONremoves a registered MongoDB connection.
Description¶
The connection cannot be dropped while an external table mapping still references it. Remove those mappings first so no external table is left pointing to a missing connection. IF EXISTS makes an absent connection a no-op.
Syntax¶
DROP MONGODB CONNECTION [IF EXISTS] connection_name
Examples¶
DROP MONGODB CONNECTION IF EXISTS old_connection;
DROP MONGODB CONNECTION reporting;