• 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 / Files / lib/migrations/adapter.php


Lines:

1 to 60 of 60
<?php

namespace Yoast\WP\Lib\Migrations;

use Exception;
use Yoast\WP\Lib\Model;

/* class Adapter */
/* function Adapter::get_database_name() – Returns the current database name. */
/* function Adapter::supports_migrations() – Checks support for migrations. */
/* function Adapter::native_database_types() – Returns all column native types. */
/* function Adapter::has_table() – Checks if a table exists. */
/* function Adapter::get_schema_version_table_name() – Allows overriding the hardcoded schema table name constant in case of parallel migrations. */
/* function Adapter::create_schema_version_table() – Create the schema table, if necessary. */
/* function Adapter::start_transaction() – Starts a transaction. */
/* function Adapter::commit_transaction() – Commits a transaction. */
/* function Adapter::rollback_transaction() – Rollbacks a transaction. */
/* function Adapter::quote_table() – Quotes a table name string. */
/* function Adapter::column_definition() – Return the SQL definition of a column. */
/* function Adapter::database_exists() – Checks if a database exists. */
/* function Adapter::create_database() – Creates a database. */
/* function Adapter::drop_database() – Drops a database. */
/* function Adapter::table_exists() – Checks if a table exists. */
/* function Adapter::execute() – Wrapper to execute a query. */
/* function Adapter::query() – Executes a query. */
/* function Adapter::select_one() – Returns a single result for a query. */
/* function Adapter::select_all() – Returns all results for a query. */
/* function Adapter::execute_ddl() – Use this method for non-SELECT queries. */
/* function Adapter::drop_table() – Drops a table */
/* function Adapter::create_table() – Creates a table. */
/* function Adapter::quote_string() – Escapes a string for usage in queries. */
/* function Adapter::identifier() – Returns a quoted string. */
/* function Adapter::rename_table() – Renames a table. */
/* function Adapter::add_column() – Adds a column. */
/* function Adapter::remove_column() – Drops a column. */
/* function Adapter::rename_column() – Renames a column. */
/* function Adapter::change_column() – Changes a column. */
/* function Adapter::column_info() – Returns the database information for a column. */
/* function Adapter::add_index() – Adds an index. */
/* function Adapter::remove_index() – Drops an index. */
/* function Adapter::add_timestamps() – Adds timestamps. */
/* function Adapter::remove_timestamps() – Removes timestamps. */
/* function Adapter::has_index() – Checks an index. */
/* function Adapter::indexes() – Returns all indexes of a table. */
/* function Adapter::type_to_sql() – Converts a type to sql. Default options:
$limit = null, $precision = null, $scale = null */
/* function Adapter::add_column_options() – Adds column options. */
/* function Adapter::get_migrated_versions() – Returns a list of all versions that have been migrated. */
/* function Adapter::add_version() – Adds a migrated version. */
/* function Adapter::remove_version() – Removes a migrated version. */
/* function Adapter::__toString() – Returns a message displaying the current version */
/* function Adapter::get_index_name() – Returns an index name. */
/* function Adapter::determine_query_type() – Returns the type of a query. */
/* function 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. */
/* function Adapter::in_transaction() – Checks if a transaction is active. */
/* function Adapter::begin_transaction() – Starts a transaction. */
/* function Adapter::commit() – Commits a transaction. */
/* function Adapter::rollback() – Rollbacks a transaction. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: lib/migrations/adapter.php
      Plugin ref: Yoast SEO
      Version: 20.13
      Deprecated?: No
      API Letters: A,L,M,P

      Published: 21st August 2020 | Last updated: 11th August 2023

      Primary Sidebar

      Information

      File name: lib/migrations/adapter.php
      Plugin ref: Yoast SEO
      Version: 20.13
      Deprecated?: No
      API Letters: A,L,M,P

      lib/migrations

      Footer

      Yoast SEO a2z
      Yoast SEO a2z
      WordPress SEO a2z
      WordPress 6.3.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