# fluent-cart/1.6.4/app/Models/BatchQuery/BatchInterface.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.6.4. 33 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/app/Models/BatchQuery/BatchInterface.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.6.4/raw/app/Models/BatchQuery/BatchInterface.php
- Modified: 2025-10-14T16:36:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/app/Models/BatchQuery/BatchInterface.php#L10-L20`.

```php
<?php

namespace FluentCart\App\Models\BatchQuery;

use FluentCart\Framework\Database\Orm\Model;

interface BatchInterface
{
    /**
     * Update multiple rows.
     *
     * @param Model $table
     * @param array $values
     * @param string|null $index
     * @param bool $raw
     * @return mixed
     */
    public function update(Model $table, array $values, ?string $index = null, bool $raw = false);

    /**
     * Update multiple rows with two index.
     *
     * @param Model $table
     * @param array $values
     * @param string|null $index
     * @param string|null $index2
     * @param bool $raw
     * @return mixed
     */
    public function updateWithTwoIndex(Model $table, array $values, ?string $index = null, ?string $index2 = null, bool $raw = false);

}

```
