• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Yoast SEO a2z

Yoast SEO a2z

WordPress SEO a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Classes / Adapter

Methods

1 to 30 of 47
  • Adapter::__toString() – Returns a message displaying the current version
  • Adapter::add_column_options() – Adds column options.
  • Adapter::add_column() – Adds a column.
  • Adapter::add_index() – Adds an index.
  • Adapter::add_timestamps() – Adds timestamps.
  • Adapter::add_version() – Adds a migrated version.
  • Adapter::begin_transaction() – Starts a transaction.
  • Adapter::change_column() – Changes a column.
  • Adapter::column_definition() – Return the SQL definition of a column.
  • Adapter::commit_transaction() – Commits a transaction.
  • Adapter::commit() – Commits a transaction.
  • Adapter::create_database() – Creates a database.
  • Adapter::create_schema_version_table() – Create the schema table, if necessary.
  • Adapter::create_table() – Creates a table.
  • Adapter::database_exists() – Checks if a database exists.
  • Adapter::determine_query_type() – Returns the type of a query.
  • Adapter::drop_database() – Drops a database.
  • Adapter::drop_table() – Drops a table
  • Adapter::execute_ddl() – Use this method for non-SELECT queries.
  • Adapter::execute() – Wrapper to execute a query.
  • Adapter::get_database_name() – Returns the current database name.
  • Adapter::get_index_name() – Returns an index name.
  • Adapter::get_migrated_versions() – Returns a list of all versions that have been migrated.
  • Adapter::get_schema_version_table_name() – Allows overriding the hardcoded schema table name constant in case of parallel migrations.
  • Adapter::has_index() – Checks an index.
  • Adapter::has_table() – Checks if a table exists.
  • Adapter::identifier() – Returns a quoted string.
  • Adapter::in_transaction() – Checks if a transaction is active.
  • Adapter::indexes() – Returns all indexes of a table.
  • Adapter::is_sql_method_call() – Detect whether or not the string represents a function call and if so do not wrap it in single-quotes, otherwise do wrap in single quotes.
[1] [2] Next »

Extended by

Class name: Adapter
Plugin ref: Yoast SEO
Version: 20.2.1
Sourcefile: lib/migrations/adapter.php
File ref: lib/migrations/adapter.php
API Letters: A

Published: 21st August 2020 | Last updated: 25th January 2022

Primary Sidebar

Information

Class name: Adapter
Plugin ref: Yoast SEO
Version: 20.2.1
Sourcefile: lib/migrations/adapter.php
File ref: lib/migrations/adapter.php
API Letters: A

Footer

Yoast SEO a2z
Yoast SEO a2z
WordPress SEO a2z
WordPress 6.1.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wordpress-seo.wp-a2z.org
© Copyright Yoast SEO a2z 2017-2023. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites