Operator | Description | Example |
$and | And | {"$and":[{"field1":{"$in":["value1","value2"]}},{"field2":{"$gt":123}}]} |
$or | or | {"$or":[{"field1":{"$in":["value1","value2"]}},{"field2":{"$gt":123}}]} |
$not | Not | {"$not":{"field1":{"$eq":"value1"}}} |
Operator | Description | Example |
$in | Match any character string value | {"field1":{"$in":["value1","value2"]}} |
$nin | Exclude all character string values | {"field1":{"$nin":["value1","value2"]}} |
$eq | Match a single character string value | {"field1":{"$eq":"value1"}} |
$ne | Exclude a single character string value | {"field1":{"$ne":"value1"}} |
Operator | Description | Example |
$gt | Greater than | {"field1":{"$gt":123}} |
$gte | Greater than or equal to | {"field1":{"$gte":123}} |
$eq | Equal to | {"field1":{"$eq":123}} |
$lt | Less than | {"field1":{"$lt":123}} |
$lte | Less than or equal to | {"field1":{"$lte":123}} |
$ne | Not equal to | {"field1":{"$ne":123}} |
$in | Matching any numeric value | {"field1":{"$in":[123,456]}} |
$nin | Exclude all numeric values | {"field1":{"$nin":[123,456]}} |
Field Name | Type | Description |
ContentType | String | Object metadata type, such as JPEG, specified by the customer during upload. |
MediaType | String | File media type. Enumerated values: image: image other: other document: document archive: archive audio: audio video: video |
CustomId | String | Random Id provided by the customer to identify an object. |
Size | Int | Object size |
FileModifiedTime | Int | Last modified timestamp of the object |
COSUserMeta | Json | COS custom headers. Stores the key names and key-value pairs of your business on COS objects, which can be used as filter criteria for search during queries. For example: COSUserMeta.xxx |
COSTagging | Json | COS custom tags. Stores the key names and key-value pairs of your business custom tags on COS objects, which can be used as filter criteria for search during queries. For example: COSTagging.xxx |
CustomLabels | Json | Custom tag list of the file. Stores the key names and key-value pairs defined by your business, which can be used as filter criteria for search during queries. For example: CustomLabels.xxx |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan