• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • OCI-Lob::truncate()

    (PHP 5, PHP 7, PECL OCI8 >= 1.1.0)

    Truncates large object

    说明

    OCI-Lob::truncate([int $length= 0]): bool

    Truncates the LOB.

    参数

    $length

    If provided, this method will truncate the LOB to$lengthbytes. Otherwise, it will completely purge the LOB.

    返回值

    成功时返回TRUE,或者在失败时返回FALSE

    参见

    • OCI-Lob::erase

    上篇:OCI-Lob::tell()

    下篇:OCI-Lob::write()