$columns * @return Collection */ public function all(array $columns = ['*']): Collection; /** * Find a record by its primary key. * * @param int|string $id * @param array $columns */ public function find(int|string $id, array $columns = ['*']): ?Model; /** * Create a new record with the given attributes. * * @param array $attributes */ public function create(array $attributes): Model; /** * Update an existing record by id with the given attributes. * * @param int|string $id * @param array $attributes */ public function update(int|string $id, array $attributes): bool; /** * Delete a record by its primary key. * * @param int|string $id */ public function delete(int|string $id): bool; }