-
hgetall 返回的不是key=>value的形式,而是把所有的 key\value 都放到了数组里面
set\hmset\hset 时候,如果是整形的,设置完之后无法 hincrby 或者 incrby ,提示不是一个整形数字
例如如下代码:
$rd2 = new \Redis();
$rd2->connect("127.0.0.1",6379)…
-
我是新手,有一些极度简单的问题,根据https://github.com/easy-swoole/easyswoole/issues/44 的回复,加入了官方群,也在群里提出了相同的问题。结果被群主踢出。理由是:基础不行,es不欢迎你。
心胸如此狭隘?
-
| Q | A
| ------------------- | -----
| Bug report? | yes/no
| Feature request? | yes/no
| Swoft version | 1.0.7
| Swoole version | x.y.z (by `php --ri swo…
jqhph updated
6 years ago
-
what is the best way to run swoole in production without downgrade on performance?
-
| Q | A
| ------------------- | -----
| Bug report? | yes
| Feature request? | no
| Swoft version | 1.06
| Swoole version | 4.03
| PHP version | 7…
jqhph updated
6 years ago
-
| Q | A
| ------------------- | -----
| Bug report? | yes
| Feature request? | no
| Swoft version | 1.0.0
| Swoole version | 4.0.4(by `php --ri swoole`)
|…
-
以 MySql 为例,向数据库执行 **任意一条语法有问题的 sql** 都会导致 \Swoft\Db\Driver\Mysql\MysqlConnection::receive 方法抛出异常
```php
public function receive()
{
$result = $this->connection->recv();
…
-
| Q | A
| ------------------- | -----
| Bug report? | yes
| Feature request? | no
| Swoft version | v1.0.21
| Swoole version | 4.0.0
| PHP version …
-
/**
* @param array $attributes
*
* $attributes = [
* 'name' => $value
* ]
*
* @return \Swoft\Db\Model
*/
public function fill(array $attrib…
-
| Q | A
| ------------------- | -----
| Bug report? | yes
| Swoft version | 1.0.0
| Swoole version | 4.0.3
| PHP version | 7.1.20
| Runtime environme…