get(ExampleRepository::class); $sql1 = $repository->toSql([ 'id' => [1, 2, 3, 4] ]); $this->assertEquals($sql1,"select * from `lar_users` where `id` in (?, ?, ?, ?)"); } }