uranio 0.1.17 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.uranio/package.json +1 -1
- package/README.md +2 -2
- package/img/uranio_logo_1440x220.png +0 -0
- package/package.json +1 -1
- package/img/LOGO_BANNER_01.png +0 -0
package/.uranio/package.json
CHANGED
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Uranio
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|
|
|
5
5
|
Uranio is a Typescript Object Document Mapper (ODM) for MongoDB.\
|
|
6
6
|
It creates a client for querying collections in a database by just parsing
|
|
@@ -47,7 +47,7 @@ const db_name = process.env.MONGO_DATABASE_NAME || '';
|
|
|
47
47
|
const urn = uranio.Client({uri, db_name});
|
|
48
48
|
|
|
49
49
|
// Get all products
|
|
50
|
-
const products = await urn.products.
|
|
50
|
+
const products = await urn.products.get_items({});
|
|
51
51
|
|
|
52
52
|
// Create a product
|
|
53
53
|
await urn.products.put_item({
|
|
Binary file
|
package/package.json
CHANGED
package/img/LOGO_BANNER_01.png
DELETED
|
Binary file
|