public static function batchRecord( IDatabase $dbw, $items ) {
		if ( !count( $items ) ) {
			return false;
		}
		$fields = [];
		/**
		 * @var $item SpoofUser
		 */
		foreach ( $items as $item ) {
			$fields[] = $item->insertFields();
		}
		$dbw->replace(
			'spoofuser',
			[ 'su_name' ],
			$fields,
			__METHOD__ );
		return true;
	}
public static function batchRecord( IDatabase $dbw, $items ) {
		if ( !count( $items ) ) {
			return false;
		}
		$fields = [];
		/**
		 * @var $item SpoofUser
		 */
		foreach ( $items as $item ) {
			$fields[] = $item->insertFields();
		}
		$dbw->replace(
			'spoofuser',
			[ 'su_name' ],
			$fields,
			__METHOD__ );
		return true;
	}
public static function batchRecord ( IDatabase $ dbw , $ items ) { if ( ! count ( $ items ) ) { return false ; } $ fields = [ ] ; /**
		 * @var $item SpoofUser
		 */ foreach ( $ items as $ item ) { $ fields [ ] = $ item -> insertFields ( ) ; } $ dbw -> replace ( 'spoofuser' , [ 'su_name' ] , $ fields , __METHOD__ ) ; return true ; }
Insert a batch of spoof normalization records into the database.
@param IDatabase $dbw
@param SpoofUser[] $items
@return bool
Insert a batch of spoof normalization records into the database .