bb_sql_parse

The BuddyPress bb sql parse function.

Description

bb_sql_parse( $sql ); 

Parameters (1)

0. $sql
The sql.

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bb_sql_parse( $sql ) { 
  2. require_once( BACKPRESS_PATH . 'class.bp-sql-schema-parser.php' ); 
  3. bb_log_deprecated( 'function', __FUNCTION__, 'BP_SQL_Schema_Parser::parse' ); 
  4. return BP_SQL_Schema_Parser::parse( $sql );