[英]Phalcon MySQL query with Bitwise (Shift-Left Operators)
[英]Bitwise shift in mysql
如何在 MySQL 中進行位移? 有沒有具體的說明或操作符? 如果不是,如何最佳地模擬它?
Have a look at the bitwise operators in MySQL
first: http://dev.mysql.com/doc/refman/5.0/en/bit-functions.html
然后你有左移:
http://dev.mysql.com/doc/refman/5.0/en/bit-functions.html#operator_left-shift
和右移:
http://dev.mysql.com/doc/refman/5.0/en/bit-functions.html#operator_right-shift
要在 MySQL 中使用按位移位,您可以分別使用<<
或>>
進行左移或右移。
看起來有可用的移位運算符,即>>用於右移。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.