mysqli_stmt 클래스

(PHP 5, PHP 7, PHP 8)


소개

준비된 문을 나타냅니다.


클래스 개요

                  
class mysqli_stmt {

  /* Properties */
  public int|string $affected_rows;
  public int|string $insert_id;
  public int|string $num_rows;
  public int $param_count;
  public int $field_count;
  public int $errno;
  public string $error;
  public array $error_list;
  public string $sqlstate;
  public int $id;
  /* Methods */
  public __construct(mysqli $mysql, ?string $query = null)
  public attr_get(int $attribute): int
  public attr_set(int $attribute, int $value): bool
  public bind_param(string $types, mixed &$var, mixed &...$vars): bool
  public bind_result(mixed &$var, mixed &...$vars): bool
  public close(): bool
  public data_seek(int $offset): void
  public execute(?array $params = null): bool
  public fetch(): ?bool
  public free_result(): void
  public get_result(): mysqli_result|false
  public get_warnings(): mysqli_warning|false
  public more_results(): bool
  public next_result(): bool
  public num_rows(): int|string
  public prepare(string $query): bool
  public reset(): bool
  public result_metadata(): mysqli_result|false
  public send_long_data(int $param_num, string $data): bool
  public store_result(): bool
}
                  
                

Properties

id
명령문 ID를 저장합니다.

목차