This plug-in can use the blueprint to operate the Mongo…
目录(Contents)
- 1. Node Description
- DT MongoDB | Client
- DT MongoDB | Collection
- DT MongoDB | Document
- Create Mongo DB Document
- To MongoDB Document (MongoDB Oid)
- To MongoDB Document (Json)
- To MongoDB Document (MongoDB View)
- To MongoDB Document (Map String)
- To MongoDB Document (Map Bool)
- To MongoDB Document (Map Int64)
- To MongoDB Document (Map Float)
- To MongoDB Document (Map Double)
- To MongoDB Document (Map MongoDB Document)
- To Map String (MongoDB Document)
- To Json (MongoDB Document)
- Add Bool
- Add String
- Add Int 32
- Add Int 64
- Add Float
- Add Double
- Add Document
- Add View
- Add Bool Array
- Add String Array
- Add Int 32 Array
- Add Int 64 Array
- Add Float Array
- Add Double Array
- Add Document Array
- DT MongoDB | View
- Is Empty
- Get Oid
- To Json String (MongoDB View)
- To Json Array String (MongoDB View Array)
- Get Element
- Is Undefined
- Is Max Key
- Is Min Key
- Is Double
- Is String
- Is View
- Is Array
- Is Binary
- Is Oid
- Is Bool
- Is Date
- Is Regex
- Is DB Pointer
- Is Code
- Is Symbol
- Is Code With Scope
- Is Int 32
- Is Timestamp
- Is Int 64
- Is Decimal 128
- Get Double
- Get String
- Get View
- Get Array
- Get Binary
- Get Object Id
- Get Bool
- Get Date
- Get Regex
- Get DB Pointer
- Get Code
- Get Symbol
- Get Code With Scope
- Get Int 32
- Get Timestamp
- Get Int 64
- Get Decimal 128
- DT MongoDB | Oid
- DT MongoDB | Element
- To String (MongoDB Element)
- To String (MongoDB Element Array)
- Is Empty
- Is Undefined
- Is Null
- Is Max Key
- Is Min Key
- Is Double
- Is String
- Is View
- Is Array
- Is Binary
- Is Oid
- Is Bool
- Is Date
- Is Regex
- Is DB Pointer
- Is Code
- Is Symbol
- Is Code With Scope
- Is Int 32
- Is Timestamp
- Is Int 64
- Is Decimal 128
- Get Double
- Get String
- Get View
- Get Array
- Get Binary
- Get Oid
- Get Bool
- Get Date
- Get Regex
- Get DB Pointer
- Get Code
- Get Symbol
- Get Code With Scope
- Get Int 32
- Get Timestamp
- Get Int 64
- Get Decimal 128
- 2. Case Presentation
- 3. Download Link
1. Node Description
DT MongoDB | Client
Create MongoDB Client
Create an MongoDB client object
Connect By Url
ConnectB MongoDB server
Param Url : mongoDB://account:password@ip:port e.g. mongodb://admin:123456@127.0.0.1:27017
or mongoDB://ip:port e.g. mongodb://127.0.0.1:27017
Get Collection
Get MongoDB specifying collection
DT MongoDB | Collection
Insert One
Inserts a single document into the collection. If the document is missing an identifier
(_id field) one will be generated for it.
Param MongoDB Document : The document to insert.
Insert Many
Inserts multiple documents into the collection. If any of the documents are missing
identifiers the driver will generate them.
Warning This method uses the bulk insert command to execute the insertion as opposed to
the legacy OP_INSERT wire protocol message. As a result, using this method to insert many
documents on MongoDB < 2.6 will be slow.
Param MongoDB Documents : Array of a documents to insert.
Delete One
Deletes a single matching document from the collection.
Param Filter : Document view representing the data to be deleted.
Delete Many
Deletes all matching documents from the collection.
Param Filter : Document view representing the data to be deleted.
Replace One
Replaces a single document matching the provided filter in this collection.
Param Filter : Document representing the match criteria.
Param MongoDB Document : The replacement document.
Update One
Updates a single document matching the provided filter in this collection.
Param Filter : Document representing the match criteria.
Param MongoDB Document : Document representing the update to be applied to a matching document.
Update Many
Updates multiple documents matching the provided filter in this collection.
Param Filter : Document representing the match criteria.
Param MongoDB Document : Document representing the update to be applied to matching documents.
Find
Finds a single document in this collection that match the provided filter.
Param Filter : Document view representing a document that should match the query.
Find One
Finds a single document in this collection that match the provided filter.
Param Filter : Document view representing a document that should match the query.
DT MongoDB | Document
Create Mongo DB Document
Create an MongoDB document object
To MongoDB Document (MongoDB Oid)
MongoDB Oid to MongoDB document
To MongoDB Document (Json)
Json String to MongoDB document
To MongoDB Document (MongoDB View)
DT MongoDB View to MongoDB document
To MongoDB Document (Map String)
Map String to MongoDB document
To MongoDB Document (Map Bool)
Map Bool to MongoDB document
To MongoDB Document (Map Int64)
Map Int64 to MongoDB document
To MongoDB Document (Map Float)
Map Float to MongoDB document
To MongoDB Document (Map Double)
Map Double to MongoDB document
To MongoDB Document (Map MongoDB Document)
Map MongoDB document to MongoDB document
To Map String (MongoDB Document)
MongoDB document to Map String
To Json (MongoDB Document)
MongoDB document to Json String
Add Bool
Add bool data to document
Add String
Add string data to document
Add Int 32
Add int data to document
Add Int 64
Add int64 data to document
Add Float
Add float data to document
Add Double
Add double data to document
Add Document
Add document data to document
Add View
Add MongoDB View data to document
Add Bool Array
Add bool array data to document
Add String Array
Add string array data to document
Add Int 32 Array
Add int array data to document
Add Int 64 Array
Add int64 array data to document
Add Float Array
Add float array data to document
Add Double Array
Add double array data to document
Add Document Array
Add document array data to document
DT MongoDB | View
Is Empty
Check if the view is empty
Get Oid
Get the Oid of the view element
To Json String (MongoDB View)
Convert the view to a Json string
To Json Array String (MongoDB View Array)
View array to Json string
Get Element
Get the element specified by the view
Is Undefined
Determine whether the specified element is Undefined
Is Max Key
Determine whether the specified element is Max Key
Is Min Key
Determine whether the specified element is Min Key。
Is Double
Determine whether the specified element is a Double
Is String
Determine whether the specified element is a string
Is View
Determine whether the specified element is a view
Is Array
Determine whether the specified element is an array
Is Binary
Determine whether the specified element is Binary
Is Oid
Determine whether the specified element is an Oid
Is Bool
Determine whether the specified element is Bool
Is Date
Determine whether the specified element is a Date
Is Regex
Determine whether the specified element is a Regex
Is DB Pointer
Determine whether the specified element is a DB Pointer
Is Code
Determine whether the specified element is Code
Is Symbol
Determine whether the specified element is a Symbol
Is Code With Scope
Determine whether the specified element is Code With Scope
Is Int 32
Determine whether the specified element is an Int 32
Is Timestamp
Determine whether the specified element is a Timestamp
Is Int 64
Determine whether the specified element is an Int 64
Is Decimal 128
Determine whether the specified element is Decimal 128
Get Double
Get the Double value of the specified element, or return 0.0 if the specified element type is incorrect.
Get String
Get the string of the specified element, and return an empty string if the type of the specified element is wrong.
Get View
Get the view of the specified element, or return an empty view if the specified element type is incorrect.
Get Array
Get the element array of the specified element, and return an empty array if the specified element type is incorrect.
Get Binary
Get the Binary of the specified element, if the type of the specified element is incorrect, return empty data.
Get Object Id
Get the Oid of the specified element, if the specified element type is incorrect, return empty data.
Get Bool
Get the Bool of the specified element, and return false if the specified element type is wrong.
Get Date
Get the Date of the specified element, and return 0 if the specified element type is incorrect.
Get Regex
Get the Regex of the specified element, if the specified element type is incorrect, return empty data.
Get DB Pointer
Get the DB Pointer of the specified element, if the specified element type is wrong, return empty data.
Get Code
Get the Code of the specified element, and return empty data if the specified element type is wrong.
Get Symbol
Get the Symbol of the specified element, if the specified element type is incorrect, return empty data.
Get Code With Scope
Get the Get Code With Scope of the specified element, and return empty data if the specified element type is wrong.
Get Int 32
Get the Int 32 of the specified element, or return 0 if the specified element type is incorrect.
Get Timestamp
Get the Timestamp of the specified element, and return 0 if the specified element type is wrong.
Get Int 64
Get the Int 64 of the specified element, or return 0 if the specified element type is incorrect.
Get Decimal 128
Get the Decimal 128 of the specified element, if the specified element type is incorrect, return empty data.
DT MongoDB | Oid
Make MongoDB Oid
Create a DT MongoDB Oid object
To String (MongoDB Oid)
Oid to string
DT MongoDB | Element
To String (MongoDB Element)
element to string
To String (MongoDB Element Array)
Array elements converted to strings, split using the passed in symbols.
Is Empty
Check if the current element is empty.
Is Undefined
Determine whether the current element is Undefined.
Is Null
Determine whether the current element is Null.
Is Max Key
Determine whether the current element is Max Key.
Is Min Key
Determine whether the current element is a Min Key.
Is Double
Determine whether the current element is a Double.
Is String
Oid turns to judge whether the current element is a string.
Is View
Determine whether the current element is a view.
Is Array
Determine whether the current element is an array.
Is Binary
Determine whether the current element is Binary.
Is Oid
Determine whether the current element is an Oid.
Is Bool
Determine whether the current element is Bool.
Is Date
Determine whether the current element is a Date.
Is Regex
Determine whether the current element is a Regex.
Is DB Pointer
Determine whether the current element is a Pointer.
Is Code
Determine whether the current element is Code.
Is Symbol
Determine whether the current element is a Symbol.
Is Code With Scope
Determine whether the current element is Code With Scope.
Is Int 32
Determine whether the current element is an Int 32.
Is Timestamp
Determine whether the current element is a Timestamp.
Is Int 64
Determine whether the current element is an Int 64.
Is Decimal 128
Determine whether the current element is Decimal 128.
Get Double
Convert the current element to Double, and return 0 if the type is incorrect.
Get String
Convert the current element to String, and return an empty string if the type is wrong.
Get View
Convert the current element to a view, or return an empty view if the type is wrong.
Get Array
转换当前元素为 元素数组, 如果类型不对返回空数组。
Get Binary
Convert the current element to Binary, and return empty data if the type is wrong.
Get Oid
Convert the current element to Oid, and return empty data if the type is incorrect.
Get Bool
Convert the current element to Bool, and return False if the type is wrong.
Get Date
Convert the current element to Date, and return 0 if the type is wrong.
Get Regex
Convert the current element to Regex, and return empty data if the type is wrong.
Get DB Pointer
Convert the current element to DB Pointer, and return empty data if the type is wrong.
Get Code
Convert the current element to Code, and return empty data if the type is incorrect.
Get Symbol
Convert the current element to Symbol, and return empty data if the type is wrong.
Get Code With Scope
Convert the current element to Code With Scope, and return empty data if the type is incorrect.
Get Int 32
Convert the current element to Int 32, and return 0 if the type is wrong.
Get Timestamp
Convert the current element to Timestamp, and return 0 if the type is wrong.
Get Int 64
Convert the current element to Get Int 64, and return 0 if the type is wrong.
Get Decimal 128
Convert the current element to Get Decimal 128, and return empty data if the type is incorrect.