bb_sql_delta

The BuddyPress bb sql delta function.

Description

bb_sql_delta( $queries, (bool) $execute = true ); 

Parameters (2)

0. $queries
The queries.
1. $execute — Optional. (bool) => true
The execute.

Usage

  1. if ( !function_exists( 'bb_sql_delta' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php'; 
  3.  
  4. // The queries. 
  5. $queries = null; 
  6.  
  7. // The execute. 
  8. $execute = true; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = bb_sql_delta($queries, $execute); 
  12.  

Defined (1)

The function is defined in the following location(s).

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bb_sql_delta( $queries, $execute = true ) { 
  2. require_once( BACKPRESS_PATH . 'class.bp-sql-schema-parser.php' ); 
  3. bb_log_deprecated( 'function', __FUNCTION__, 'BP_SQL_Schema_Parser::delta' ); 
  4. global $bbdb; 
  5. return BP_SQL_Schema_Parser::delta( $bbdb, $queries, false, $execute );