Daily Archives: 08/18/2020

jQuery Datatable reload()

Example:

Reference:

  1. https://datatables.net/reference/api/ajax.reload()
  2. https://stackoverflow.com/questions/42905454/datatables-ajax-reload-loses-page

Transaction and lock tables in Laravel

Example

Reference:

  1. https://stackoverflow.com/questions/53522444/how-to-lock-table-with-laravel
  2. https://www.mysql.tw/2018/06/mysql-lock-table-lockrow-lock.html
  3. https://xyz.cinc.biz/2013/04/mysql-lock-tables.html
  4. https://laravel.com/docs/6.x/queries#pessimistic-locking