Coroutine\PostgreSQL->metaData

最后更新于:2022-04-02 06:29:33

# Coroutine\\PostgreSQL->metaData 查看表的元数据 异步非阻塞协程版 ~~~ function Coroutine\PostgreSQL->metaData(String $tableName); ~~~ example: ~~~ go(function () { $a = new Swoole\Coroutine\PostgreSQL(); $conn = $a -> connect ("host=127.0.0.1 port=5432 dbname=test user=wuzhenyu"); $result = $a->metaData('test'); var_dump($result); }); ~~~
';