Document fields containing arrays can now be indexed by setting
array
to true in an indexfields
definition.Added support for the
OVERLAPS
andNOT OVERLAPS
operators; these are equivalent to the MySQLJSON_OVERLAPS()
function.The syntax employed for these binary operators take the form
其中每个expression
[NOT] OVERLAPSexpression
expression
returns a JSON array or object. For example,[1, 2, 3]
overlaps.list美元
.Added support for the
utf8mb4_0900_bin
collation added in MySQL Server 8.0.17.The bundled
README.md
file was split and reformatted with some content moved into the newREADME.txt
andCONTRIBUTING.md
files.
The MySQL
CAST
function did not work as a valid lookup expression. (Bug #29807792)Added backtick (
`
) support for table column identifiers in valid expressions. (Bug #29789818)The
DIV
binary andNOT
unary operators are now supported; these are case-insensitive. (Bug #29771833, Bug #29771027)Collection.find()now supports the JavaScript
Date
type. (Bug #29766014)The
collection.dropIndex()
method now silently fails if the index does not exist, as expected; previously, it raised aCan't DROPerror. (Bug #29765589)In some cases,
Column.getCollationName()
returned the incorrect name. (Bug #29704185)