You are here

public function Schema::tableExists in MongoDB 8

File

drivers/lib/Drupal/Driver/Database/mongodb/Schema.php, line 7

Class

Schema

Namespace

Drupal\Driver\Database\mongodb

Code

public function tableExists() {

  // This is only used for install and we only need to tell apart
  // install_begin_request() from install_verify_database_ready().
  return count(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)) == 3;
}