Author: 永夜
-
Post Views: 20 1. When there are multiple rows of data in the table, the implementation is as follows. Error: call to a member function value() on null. as shown in Figure 1 2. The adjustment is realized as follows. When the record does not exist, the query result is NULL. When the record exists, the query result is int(6),…
-
Post Views: 18 1. Job runs an error in Laravel 9: Has Been Attempted too many times or run too long. The job may have previously previously timed out.. as shown in Figure 1 2. The total number of records found in the table is 8761297. Based on the chunk method, the entire table is retrieved in units of 10…
-
Post Views: 23 1. Try to pass multiple fields/values based on the Redis facade Hset, the code is implemented as follows 2. Error during operation: local.error: err wrong number of arguments forhsetcommand. as shown in Figure 1 3. However, starting from Redis 4.0, HSET can set one or more field/value pairs at a time. Since Redis 4.0.0, HMSET is discarded,…
-
Post Views: 18 1. In Google Chrome, due to the website upgrade, open blank, only in the seamless mode can be opened normally. as shown in Figure 1 2. After deleting the saved data of the website in the browser. Although you need to log in again, the opening is still blank. as shown in Figure 2 3. Open the…
-
Post Views: 12 1. inhttps://tinys.pl/cn/swapUse SOL to buy Nuts, and display the number of 0 in Ouyi Web3 wallet. as shown in Figure 1 2. Check the transaction history, the sending is successful, and the number of receptions is – 0 sql. as shown in Figure 2 3. inhttps://tinys.pl/cn/swapReconnect the wallet, add a liquidity pool, and finally see 1,703.62364349 Nuts.…
-
Post Views: 21 1. Reference:In Laravel 9, reuse Spatie\QueryBuilder\QueryBuilder in asynchronous queue to generate query SQL 2. The current implementation scheme, for a certain field, can only use one filter, or partial, or Exact. Reference:In Yii 2.0, implement the request parameter form of the filter. 3. For a single fuzzy search, multiple accurate search fields, decide to verify the type…
-
Post Views: 20 1. The format of the excel file exported now, the format of the operation time column is regular. as shown in Figure 1 2. You need to set the operation time column to the date time format. Reference: InsertDate method can only format a specific cell. Now plan to execute the insertDate method after every 10 rows…
-
Post Views: 19 1. In the OneKey wallet, send USDT in the Optimism network. Hint: ETH is required for transaction fees in the Optimism network. Please recharge your account ETH first to execute the transaction. as shown in Figure 1 2. It is planned to use the flash redemption function of the wallet to exchange some USDTs to ETH in…