Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
返回值在一组值中的索引位置。
INT field(VARCHAR val, VARCHAR val1, val2, ...);
val
val1
val2
0
MYSQL > select field('a', 'b', 'a', 'd'); +---------------------------+ | field('a', 'b', 'a', 'd') | +---------------------------+ | 2 | +---------------------------+