Commit Graph
49 Commits
Author SHA1 Message Date
wangyuting d5a6089465 * [bug#65031,done,0.2h,0h] Fix sql repalce exec error. 2025-08-28 16:48:03 +08:00
wangyuting bd926240cd * Fix replace objects is null error. 2025-08-28 15:50:36 +08:00
zhujinyong 94c876426f * [misc] compatibility with PHP8.4. 2025-07-07 14:47:31 +08:00
wangyuting 66e0c279e8 * [task#143678,done,0.1h,0h] Finish project template view. 2025-05-23 14:01:10 +08:00
刘刚 0a81cc01e5 * [refac] fix typo. 2025-05-22 09:15:35 +08:00
刘刚 7f410e9901 * [refac] using dbh to execute database operation in cache. 2025-05-21 16:34:12 +08:00
liugang 5269509846 * [refac] fix error the variable $keys was overwritten. 2024-12-30 09:42:38 +08:00
liugang 31c20b0578 * [refac] if there is no cache, get the value of the primary key field that meets the query conditions from the database and update the cache. 2024-12-30 09:42:38 +08:00
liugang 11b4296139 + [refac] add a method to get data that meets the query conditions from the calculation results of the automatic cache. 2024-12-30 09:42:38 +08:00
liugang 1473c59af8 * [refac] modify the access permissions of method so that it can be called from other classes. 2024-12-30 09:42:38 +08:00
liugang 57aba89aad * [refac] don't update cache if the cache that stored all id list is empty. 2024-12-09 09:21:27 +08:00
liugang c243c1f56b * [bug#57811,1h] fix the inconsistency issue between cache data and database. 2024-12-09 09:21:27 +08:00
liugang f220bccb8f * [refac] if cache doesn't exist skip it. 2024-12-09 09:21:27 +08:00
liugang a8eb06666c * [refac] don't exlucde text fields in cache. 2024-12-03 16:49:06 +08:00
liugang 4ce078940b * [refac] filter empty value. 2024-11-28 17:33:35 +08:00
liugang f1fda82b0e * [refac] check if a variable is empty before using it as an array. 2024-11-25 08:52:41 +08:00
liugang 70b40dab3d * [refac] fix error generate affected keys. 2024-11-20 15:42:49 +08:00
liugang 8d5b8a28da - [refac] the affected object could be empty. 2024-11-20 15:42:49 +08:00
liugang 7954ef14e4 * [refac] fix error when the sql doesn't have where condition. 2024-11-20 15:42:49 +08:00
liugang 3dcd4cde2e + [refac] reset where condition to empty. 2024-11-20 15:42:49 +08:00
liugang 335d4e23bf * [refac] if not all data in cache, get the missing data from the database. 2024-11-20 15:42:49 +08:00
liugang 9c100fa04d * [refac] refactor cache library. 2024-11-20 15:42:49 +08:00
liugang 35b0b699aa * [refac] add method to create cache key. 2024-11-20 15:42:49 +08:00
liugang 77a2984c38 * [refac] user can set expiration of cache. 2024-11-20 15:42:49 +08:00
liugang 2e20324fe6 + [refac] close cache connection when program is shutdown. 2024-11-20 15:42:49 +08:00
liugang ccc5d3a888 + [refac] check if the label already used. 2024-11-20 15:42:49 +08:00
liugang a5be156308 * [refac] optimize error message. 2024-11-20 15:42:49 +08:00
liugang 5fea836c6e * [refac] fix class not found error. 2024-11-20 15:42:49 +08:00
liugang 14a0088b97 * [refac] return result of the method who cleared the cache. 2024-11-20 15:42:49 +08:00
liugang 4ff19d7ef3 * [refac] add namespace to resolve class name conflicts. 2024-11-20 15:42:49 +08:00
liugang b0e0090809 + [refac] add method to get memory usage. 2024-11-20 15:42:49 +08:00
liugang c36e3e807c * [refac] add method to clear cache. 2024-11-20 15:42:49 +08:00
朱金勇 f1bb5c856f * [misc] Select into for cache. 2024-11-20 15:42:49 +08:00
liugang 0637346f85 + [refac] add method to clear cache. 2024-11-20 15:42:49 +08:00
liugang ca997cd1c4 * [refac] add namespace and connector. 2024-11-20 15:42:49 +08:00
liugang 61c1ad11ba * [refac] rename redis to cache. 2024-11-20 15:42:49 +08:00
liugang 06f71d7376 * [refac] fetch data of specified id list from cache. 2024-11-20 15:42:49 +08:00
liugang a3910b7afd + [refac] add method to get the data of the specified table and id from the cache. 2024-11-20 15:42:49 +08:00
liugang 2bf184edff * [refac] add method to get cache key. 2024-11-20 15:42:49 +08:00
liugang 732e342ca6 + [refac] initialize the cache of the specified table. 2024-11-20 15:42:49 +08:00
liugang 9ac773bade + [refac] add cache class to manage cache. 2024-11-20 15:42:49 +08:00
朱金勇 e530add989 * [perf] rename cache to mao 2024-11-20 15:42:49 +08:00
朱金勇 aa5528372b + [perf] Add redis cache class. 2024-11-20 15:42:49 +08:00
dingguodong c8438e8c43 + [task#121999] Add the redis cache driver. 2024-06-28 16:59:08 +08:00
Lufei 9bac1239d1 * Optimize cache class. 2023-06-02 15:41:35 +08:00
Lufei bee459afd9 * Fix cache ttl error. 2023-06-02 11:21:59 +08:00
Lufei 020d72d2c5 * Add create method for cache. 2023-05-05 16:35:26 +08:00
Lufei 0f7204388c + Support file cache. 2023-05-04 19:29:40 +08:00
鲁飞 c93d138a83 + Support Apcu and Yac cache driver. 2023-02-22 06:20:00 +00:00