Creates or modifies database tables based on the specified SQL query to create table.
Escapes data for use in a MySQL query. Protects against SQL injections. May accept an array of strings for processing.
Given a meta query, generates SQL clauses to be appended to a main query.
Retrieve the number of database queries during the WordPress execution.
Retrieve the post SQL based on capability, author, and type.
Ensures a string is a valid SQL 'order by' clause.