Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableFieldQuery::is_atomic()privateWC 1.0

Checks whether a given field_query clause is atomic or not (i.e. not nested).

Method of the class: OrdersTableFieldQuery{}

No Hooks.

Return

true|false. TRUE if atomic, FALSE otherwise.

Usage

// private - for code of main (parent) class only
$result = $this->is_atomic( $q );
$q(array) (required)
The field_query clause.

OrdersTableFieldQuery::is_atomic() code WC 9.3.3

private function is_atomic( $q ) {
	return isset( $q['field'] );
}