简体   繁体   中英

What does double “at” (@) marks mean in this SQL query?

I couldn't find anything about this in MySQL documentation.

SELECT accesion_id, 
       definition 
  FROM accesion_table 
 WHERE search_word @@ ? OFFSET ? LIMIT Const.MAX_DISP_COUNT;

Most likely the code that is executing this sql statement has some parser that's handling this odd syntax, since the the @@, ? and Const.MAX_DISPLAY_COUNT aren't part of MySQL. Also the keyword OFFSET must be placed after the LIMIT keyword.

With Oracle the '@@' to point to the current directory of the executing file. Could it be that MySql might be following Oracles lead?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM