@ratatosk/ngsi-mongo-storage

1.2.7 • Public • Published

ngsi-mongo-storage

A list of changes as compared to Orion database schema

// NOW

  • DateTime gets stored as a proper date, NOT seconds (i.e. Integer) since 1970

// LATER

  • attrNames and attr.mdNames REMOVED
  • _id.id -> nameId (and maps to entity.id)
  • _id.type -> type (and maps to entity.type)
  • _id.servicePath -> servicePath (exposed as a builtin "servicePath")
  • _id is just saved as an ObjectId() (exposed as a builtin "fiwareId")
  • uniqueness index added to {nameId, type, servicePath} trio to enforce Orion compatibility
  • builtins expanded to include {servicePath, fiwareId} (from above)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.70latest
1.2.601.2.6
1.2.101.2.1

Version History

VersionDownloads (Last 7 Days)Published
1.2.70
1.2.60
1.2.50
1.2.40
1.2.30
1.2.20
1.2.10
1.2.00
1.1.10
1.1.00
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @ratatosk/ngsi-mongo-storage

Weekly Downloads

0

Version

1.2.7

License

Apache-2.0

Unpacked Size

318 kB

Total Files

63

Last publish

Collaborators

  • sensative-user