In MongoDB, the _______ operator can be used to test a regular expression against a string.
- $search
- $match
- $regex
- $find
In MongoDB, the $regex operator is used to test a regular expression against a string. It allows you to perform pattern matching on string fields in your documents. This is useful for querying and filtering data based on specific patterns or text matching requirements.
Loading...
Related Quiz
- When normalizing a database in SQL, separating data into two tables and creating a new primary and foreign key relationship is part of the _______ normal form.
- Which CNN architecture is known for its residual connections and improved training performance?
- In a normal distribution, approximately 95% of the data falls within _______ standard deviations of the mean.
- Raw logs from web servers, which might include a mix of text, images, and other file types, are considered _______ data.
- In which type of learning does the model discover patterns or structures without any prior labeling of data?