PHP code example of w7 / rangine-cache-model
1. Go to this page and download the library: Download w7/rangine-cache-model library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
w7 / rangine-cache-model example snippets
$uids = [1, 2, 5];
Member::query()->find($uids);
Member::query()->find($uids);
// query once
// select * from `ims_members` where `ims_members`.`uid` in (?, ?, ?)