|
Collection::existsInDatabaseCheck if collection exists in database Description
public bool mysql_xdevapi\Collection::existsInDatabase()
Checks if the Collection object refers to a collection in the database (schema). ParametersThis function has no parameters. Return Values
Returns A table defined with two columns (doc and _id) is considered a collection, and a third _json_schema column as of MySQL 8.0.21. Adding an additional column means existsInDatabase() will no longer see it as a collection. ExamplesExample #1 mysql_xdevapi\Collection::existsInDatabase example
|