vk-model_sql-custom_fields

1.0.0 • Public • Published

Overview

Virtual Key Property Model package, Functional to perform DB based on smartlocks and smartthing models collections available.

Usage

  1. Install vk-model_sql-property

    npm install @virtualkey/vk-model_sql-property
    
  2. Import/Require the package.

    const propertyModels = require('vk-model_sql-property')
    
  3. Initialize an object of the integration account model package.

    const propertyModelsObj = new propertyModels();
    
  4. Now just use object as per the requirement using the dot notation followed by function name.

    propertyModelsObj.[method-name]
    

Available Actions for Db collection models

  1. getDevicesForProperty Function to retrieve all devices for a particular property by its unique identifier (exclude deleted).
  2. getDevicesDetailsByIdAndUserId Function to retrieve device details by virtulKey unique identifier (exclude deleted).
  3. getDevicesDetailsByLockId Function to retrieve device details by device's unique identifier (exclude deleted).

Readme

Keywords

none

Package Sidebar

Install

npm i vk-model_sql-custom_fields

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

80.2 kB

Total Files

32

Last publish

Collaborators

  • virtualkeyinc