Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: DUPLICATE KEY UPDATE in the query builder
Post: RE: DUPLICATE KEY UPDATE in the query builder

Thank you for your answer. I don't think you understood the intent of my question, so I will change my explanation. I want to generate the following MySQL query using the query builder. Code: --...
1,030 Views
3 Replies
09-11-2023, 01:37 AM
chanyui
    Thread: DUPLICATE KEY UPDATE in the query builder
Post: DUPLICATE KEY UPDATE in the query builder

I would like to execute the following SQL in the query builder. Code: -- INSERT INTO table1 (`id`, `total`) VALUES (123, 1) ON DUPLICATE KEY UPDATE total = total + 1; -- We want to execute 1 if th...
1,030 Views
3 Replies
09-09-2023, 05:20 AM
chanyui
    Thread: How to return pure json
Post: RE: How to return pure json

When I put it in production mode, the problem was solved. Thank you!
2,899 Views
2 Replies
01-03-2021, 09:29 AM
chanyui
    Thread: How to return pure json
Post: How to return pure json

Hello, I want to respond with json without spaces or line breaks. This is because the size of the large json grows unnecessarily. PHP Code: --   public function testapi()   {     $data...
2,899 Views
2 Replies
01-03-2021, 05:10 AM
chanyui

Theme © iAndrew 2016 - Forum software by © MyBB