• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register

WordPress.org

  • Showcase
  • Learn
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
    • Five for the Future
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/wp-db.php / Page 2

wpdb::has_cap()

Method: Determines if a database supports a particular feature.

Source: wp-includes/wp-db.php:3610

Used by 4 functions | Uses 1 function

wpdb::get_caller()

Method: Retrieves a comma-separated list of the names of the functions that called wpdb.

Source: wp-includes/wp-db.php:3654

Used by 2 functions | Uses 1 function

wpdb::db_version()

Method: Retrieves the MySQL server version.

Source: wp-includes/wp-db.php:3665

Used by 6 functions | Uses 1 function

wpdb::get_col_info()

Method: Retrieves column metadata from the last query.

Source: wp-includes/wp-db.php:3426

Used by 0 functions | Uses 1 function

wpdb::timer_start()

Method: Starts the timer, for debugging purposes.

Source: wp-includes/wp-db.php:3451

Used by 1 function | Uses 0 functions

wpdb::replace()

Method: Replaces a row in the table.

Source: wp-includes/wp-db.php:2222

Used by 0 functions | Uses 1 function

wpdb::_insert_replace_helper()

Method: Helper function for insert and replace.

Source: wp-includes/wp-db.php:2251

Used by 2 functions | Uses 3 functions

wpdb::update()

Method: Updates a row in the table.

Source: wp-includes/wp-db.php:2318

Used by 39 functions | Uses 3 functions

wpdb::delete()

Method: Deletes a row in the table.

Source: wp-includes/wp-db.php:2389

Used by 16 functions | Uses 3 functions

wpdb::get_var()

Method: Retrieves one variable from the database.

Source: wp-includes/wp-db.php:2573

Used by 69 functions | Uses 2 functions

wpdb::get_row()

Method: Retrieves one row from the database.

Source: wp-includes/wp-db.php:2607

Used by 29 functions | Uses 3 functions

wpdb::check_connection()

Method: Checks that the connection to the database is still up. If not, try to reconnect.

Source: wp-includes/wp-db.php:1811

Used by 1 function | Uses 6 functions

wpdb::get_col()

Method: Retrieves one column from the database.

Source: wp-includes/wp-db.php:2651

Used by 39 functions | Uses 3 functions

wpdb::query()

Method: Performs a MySQL database query, using current database connection.

Source: wp-includes/wp-db.php:1900

Used by 36 functions | Uses 9 functions

wpdb::get_results()

Method: Retrieves an entire SQL result set from the database (i.e., many rows).

Source: wp-includes/wp-db.php:2687

Used by 73 functions | Uses 2 functions

query

Filter Hook: Filters the database query.

Source: wp-includes/wp-db.php:1916

Used by 1 function | Uses 0 functions

wpdb::load_col_info()

Method: Loads the column metadata from the last query.

Source: wp-includes/wp-db.php:3396

Used by 2 functions | Uses 0 functions

wpdb::_do_query()

Method: Internal function to perform the mysql_query() call.

Source: wp-includes/wp-db.php:2050

Used by 1 function | Uses 4 functions

wpdb::insert()

Method: Inserts a row into the table.

Source: wp-includes/wp-db.php:2193

Used by 16 functions | Uses 1 function

wpdb::show_errors()

Method: Enables showing of database errors.

Source: wp-includes/wp-db.php:1537

Used by 2 functions | Uses 0 functions

wpdb::hide_errors()

Method: Disables showing of database errors.

Source: wp-includes/wp-db.php:1554

Used by 1 function | Uses 0 functions

wpdb::tables()

Method: Returns an array of WordPress tables.

Source: wp-includes/wp-db.php:1012

Used by 7 functions | Uses 2 functions

wpdb::suppress_errors()

Method: Enables or disables suppressing of database errors.

Source: wp-includes/wp-db.php:1572

Used by 7 functions | Uses 0 functions

wpdb::select()

Method: Selects a database using the current database connection.

Source: wp-includes/wp-db.php:1078

Used by 1 function | Uses 4 functions

wpdb::flush()

Method: Kills cached query results.

Source: wp-includes/wp-db.php:1583

Used by 1 function | Uses 0 functions

wpdb::_weak_escape()

Method: Do not use, deprecated.

Source: wp-includes/wp-db.php:1143

Used by 1 function | Uses 1 function

wpdb::db_connect()

Method: Connects to and selects database.

Source: wp-includes/wp-db.php:1620

Used by 3 functions | Uses 9 functions

wpdb::_real_escape()

Method: Real escape, using mysqli_real_escape_string() or mysql_real_escape_string().

Source: wp-includes/wp-db.php:1161

Used by 2 functions | Uses 3 functions

wpdb::_escape()

Method: Escapes data. Works on arrays.

Source: wp-includes/wp-db.php:1196

Used by 4 functions | Uses 2 functions

wpdb::escape()

Method: Do not use, deprecated.

Source: wp-includes/wp-db.php:1225

Used by 1 function | Uses 3 functions
« Previous 1 2 3 Next »
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.