Skip to content
Permalink
Browse files

#48 closed

  • Loading branch information...
Daniel González
Daniel González committed May 27, 2018
1 parent 3768ec9 commit 3a337eb26d081af811360d9efc1802d202c7eef3
Showing with 12 additions and 1 deletion.
  1. +12 −1 README.md
@@ -197,7 +197,18 @@ db.items.createIndex( { "ttl": 1 }, { expireAfterSeconds: 30 } )

### Mysqli

Use it if you will you have mysqlnd available in your system.
You need to create Mysql table as follow

```mysql
CREATE TABLE cache (
k varchar(255) NOT NULL,
v text NOT NULL,
t int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE cache
ADD PRIMARY KEY (k) USING BTREE;
```

``` php
<?php

0 comments on commit 3a337eb

Please sign in to comment.
You can’t perform that action at this time.