A Go (golang) package that enhances the standard database/sql package by providing powerful data retrieval methods as well as DB-agnostic query building capabilities.
MIT License
638
stars
91
forks
source link
How to use with SELECT * FOR UPDATE SKIP LOCKED? #92
Hi! How to use builder with this query?
SELECT * FROM
dislocationWHERE
status='init' ORDER BY
operation_timeASC LIMIT 1 FOR UPDATE SKIP LOCKED
https://mysqlserverteam.com/mysql-8-0-1-using-skip-locked-and-nowait-to-handle-hot-rows/