Commit Graph
435 Commits
Author SHA1 Message Date
liugang 3389f783aa * [misc] modify return type. 2025-04-23 17:17:56 +08:00
liyang 7254e92e30 + [trace] fix param. 2025-04-23 17:02:10 +08:00
liugang 7b5e68bf35 * [refac] add method to get profiles of database. 2025-04-23 16:18:10 +08:00
liugang 44142b5a5d * [refac] only convert replace statement to insert statement for cached tables. 2025-04-01 14:33:19 +08:00
sunguangming 806249bd54 * [bug#60194,done,0.2h] skip error. 2025-03-04 14:49:06 +08:00
sunhao b443a08ae2 * [misc] export version and vision to frontend. 2025-02-19 16:18:51 +08:00
liugang 1a33f128f7 * [refac] refactor error checking to use dao::isError() method. 2025-02-11 14:47:06 +08:00
liugang c4d4972cd7 * [refac] add data existence check before converting replace to insert. 2025-02-11 14:47:06 +08:00
liugang cd534a08b6 * [refac] enhance error message to include table name for required fields. 2025-02-11 14:47:06 +08:00
liugang cd093ebc7a * [refac] add backtick wrapping for table name. 2025-02-11 14:47:06 +08:00
liugang 43388e5ebc * [refac] remove unnecessary variable. 2025-02-11 14:47:06 +08:00
wangyidong 6749837b76 * [refac bug #58997] Adjust for convertReplaceToInsert method. 2025-01-08 16:33:44 +08:00
liugang 30837d938a * [bug#58943] modify variable access control. 2025-01-07 09:35:19 +08:00
liugang b9b367e375 * [perf] match the query conditions one by one only after getting the data according to the primary key field. 2025-01-06 15:06:58 +08:00
liugang 01854f4c2e * [perf] disable auto cache to improve effeciency. 2025-01-06 15:06:58 +08:00
wangyidong d698b8cd0e * [perf] Add OceanBase for DB Driver for install. 2025-01-03 15:36:57 +08:00
liugang df42a713ad * [refac] don't rollback or commit if the transaction was started by other methods. 2025-01-03 15:02:01 +08:00
sunhao 8062661993 * [bug #58831] add form field config to prevent encode html special chars for raw content of doc. 2025-01-02 17:27:09 +08:00
liugang d7f509c634 - [refac] remove unused method getResCache. 2024-12-30 09:42:38 +08:00
liugang 1cf13deb2e * [refac] refactor the fetch method to get data from database if the query condition doesn't contain the primary key field. 2024-12-30 09:42:38 +08:00
liugang 5634fedc79 * [refac] refactor the fetchAll method to get data from the calculated result cache if the query condition does not match the primary key field. 2024-12-30 09:42:38 +08:00
liugang 487a99d2a7 + [refac] cache unique indexes. 2024-12-30 09:42:38 +08:00
liugang 77e463b8d1 - [refac] remove unused methods. 2024-12-30 09:42:38 +08:00
liugang 65069a6de1 + [refac] add method to get calculation result cache. 2024-12-30 09:42:38 +08:00
liugang df81b6f5fe + [refac] convert replace operation to delete and insert operations. 2024-12-30 09:42:38 +08:00
liugang 7dd3993a98 + [refac] add a method to get unique indexes of a table. 2024-12-30 09:42:38 +08:00
liugang f72a6096ad * [refac] fix error of calling method get() on bool when cache is off. 2024-12-30 09:42:38 +08:00
songchenxuan f58614083c * [misc] use this->app. 2024-12-13 16:36:04 +08:00
songchenxuan 7ad0709b72 * [misc] do not use cookie set pager->recPerPage when use json api. 2024-12-13 16:36:04 +08:00
liugang f220bccb8f * [refac] if cache doesn't exist skip it. 2024-12-09 09:21:27 +08:00
zhujinyong 8598fbdace * [misc] auto exclude blob type. 2024-12-04 17:29:23 +08:00
zhujinyong 21c5b12c78 * [feat] extract sql fields for fetchAll. 2024-12-03 11:30:08 +08:00
liugang 614b73ab28 * [refac] Treat the empty cache value as cache miss. 2024-12-03 10:07:31 +08:00
liugang 4ce078940b * [refac] filter empty value. 2024-11-28 17:33:35 +08:00
liugang bcfe4ec1f6 * [refac] set table cache if the cache is enabled and there are effected rows. 2024-11-27 16:23:53 +08:00
liugang 02b29ee086 * [refac] save sql in cache. 2024-11-27 16:23:53 +08:00
liugang 4ed2e11ca2 * [bug#57288] fix error of select fields from a table into other records. 2024-11-21 15:17:46 +08:00
liugang da9d075fbc + [refac] add comment. 2024-11-20 17:29:39 +08:00
liugang 2785d6da8e * [refac] if cache is disabled fetch records from database. 2024-11-20 17:29:39 +08:00
liugang 413e30932e * [refac] return if the parameter $keyField is empty. 2024-11-20 17:29:39 +08:00
liugang f84e1170a0 * [refac] rename parameter $primaryKey to $keyField. 2024-11-20 17:29:39 +08:00
liugang 4fc58a3d0b * [refac] fix error of calling method on null. 2024-11-20 15:42:49 +08:00
liugang 4d07bea835 + [refac] add method to clear cache. 2024-11-20 15:42:49 +08:00
liugang e89e7fa572 * [refac] the table updated time in dao cache won't expire. 2024-11-20 15:42:49 +08:00
liugang 1a80600203 * [refac] add method to create dao cache key. 2024-11-20 15:42:49 +08:00
liugang 3665ecea17 * [refac] remove unused code. 2024-11-20 15:42:49 +08:00
liugang 28c27c06ef * [refac] set expiration of dao cache. 2024-11-20 15:42:49 +08:00
liugang 6cc8baf961 * [refac] remove extra spaces. 2024-11-20 15:42:49 +08:00
liugang 8c69fccd2a - [refac] remove unused method. 2024-11-20 15:42:49 +08:00
liugang ad2c087ee6 * [refac] remove parameter type. 2024-11-20 15:42:49 +08:00