MongoSK icon

MongoSK -----

The MongoDB database management addon for Skript.



Some new syntaxes!
The previous patch versions (2.0.1, 2.0.2 & 2.0.3) proved to be stable and without bugs, so here is a minor version (2.1.0)! This new version also brings some new features:

✨ Features

- Update Mongo driver from version 4.2.2 to 4.3.0-beta1
- Remove severe logging when a field does not exist in a document
- Add an is empty document condition
- Add an has value document condition
- Add an has key document condition
- Add Mongo sections!

As you know, the creation of simple documents can sometimes be long and boring, because of the many lines that sometimes seem unnecessary.
To create a simple document representing the JSON object below, you can now use a new syntax!

Code (Text):
{
  "simpleField": "Hello!",
  "nestedObject": {
   "number": 100,
   "boolean": false
  }
}
Code (Text):
set {_nested} to a new mongo document with:
  mongo "number": 100
  mongo "boolean": false
set {_doc} to a new mongo document with:
  mongo "simpleField": "Hello!"
  mongo "nestedObject": {_nested}
broadcast {_doc}'s mongo json
These new syntaxes are all prefixed with mongo to ensure they do not conflict with other addons.
As a reminder, they are currently in beta, and their patterns may be changed if there are problems.

That's it for today, enjoy!
----------, Apr 25, 2021
Resource Information
Author:
----------
Total Downloads: 439
First Release: Mar 7, 2021
Last Update: Jun 23, 2022
Category: ---------------
All-Time Rating:
2 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings