node-red-contrib-objectid 0.5.0

Node Red Node to create an ObjectID for mongodb.

npm install node-red-contrib-objectid

Node-Red Node to create an ObjectID for queries in mongodb

This small node-red node is used to create an ObjectID for mongodb.


Use it to query mongodb with an ObjectID. You can input a 24 char hexstring and create an ObjectID from it. The input must be passed in a msg._id element. For example:

msg._id = "572dbc06f307c8682045c55c"

If msg._id is null, a random id is created.

License:

MIT: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Node Info

Version: 0.5.0
Updated 10 months, 3 weeks ago
License: MIT

Downloads

6 in the last day
21 in the last week
81 in the last month

Nodes

  • objectid

Keywords

  • node-red
  • objectid
  • mongodb
  • _id

Maintainers

  • chris1234567899