JSPM

loopback-connector-cassandra-ipc

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q25865F
  • License

Loopback Cassandra Connector

Package Exports

  • loopback-connector-cassandra-ipc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (loopback-connector-cassandra-ipc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

loopback-connector-cassandra

  • loopback connector for cassandra database
  • build method create, findOne, find, patch, update, delete
  • To export Rest API from model
    • insert "loopback-connector-cassandra/models" to model-config.json to load BaseCassandraModel
    • extend BaseCassandraModel when create your custom model
  • example model config { "name": "customModel", "base": "BaseCassandraModel", "idInjection": false, "options": { "validateUpsert": true }, "properties": { "subject": { "type": "string", "required": true }, "time": { "type": "timeuuid", "required": true, "order": "DESC" }, "value": { "type": "string" } }, "partitionKeys": ["subject"], "clustering": ["time"], "indexes": { "value": { "name": "value_custom_model" } } "validations": [], "relations": {}, "acls": [], "methods": {} }

Connector settings