samples/PhotoAlbum/lib/rb.php
protected function processBuildCommands($table, $property, RedBean_OODBBean $bean) {
		if ($inx = ($bean->getMeta('buildcommand.indexes'))) {
			if (isset($inx[$property])) $this->writer->addIndex($table,$inx[$property],$property);
		}
	}
protected function processBuildCommands($table, $property, RedBean_OODBBean $bean) {
		if ($inx = ($bean->getMeta('buildcommand.indexes'))) {
			if (isset($inx[$property])) $this->writer->addIndex($table,$inx[$property],$property);
		}
	}
protected function processBuildCommands ( $ table , $ property , RedBean_OODBBean $ bean ) { if ( $ inx = ( $ bean -> getMeta ( 'buildcommand.indexes' ) ) ) { if ( isset ( $ inx [ $ property ] ) ) $ this -> writer -> addIndex ( $ table , $ inx [ $ property ] , $ property ) ; } }
Processes all column based build commands.
A build command is an additional instruction for the Query Writer. It is processed only when
a column gets created. The build command is often used to instruct the writer to write some
extra SQL to create indexes or constraints. Build commands are stored in meta data of the bean.
They are only for internal use, try to refrain from using them in your code directly.

@param  string           $table    name of the table to process build commands for
@param  string           $property name of the property to process build commands for
@param  RedBean_OODBBean $bean     bean that contains the build commands

@return void
Processes all column based build commands . A build command is an additional instruction for the Query Writer . It is processed only when a column gets created . The build command is often used to instruct the writer to write some extra SQL to create indexes or constraints . Build commands are stored in meta data of the bean . They are only for internal use try to refrain from using them in your code directly .