NPM module - izara-shared: Difference between revisions
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= | = neptuneGraphSharedLib = | ||
Helper functions for interacting with Neptune graph databases from any service. | Helper functions for interacting with Neptune graph databases from any service. | ||
== | == neptuneGraphSharedLib.createVertex == | ||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> |
Revision as of 03:00, 1 March 2021
Overview
Shared libraries
Repository
https://bitbucket.org/stb_working/izara-shared/src/master/
Helper functions for interacting with DynamoDB resources.
/**
* Creates a string set element for use with documentClient
* @param {string[]} stringSet
*
* @returns {string} String formatted as a string set for Dynamo
*/
Helper functions for Config tables.
/**
* @param {string} configTag
* @param {string} configKey
*
* @returns {Object} returns the configValue for a single config record, or null if none found
*/
Helper functions for interacting with Neptune graph databases from any service.
/**
* Creates vertexId from vertexTag and unique id
* @param {string} vertexTag
* @param {string} uniqueId
*
* @returns {string} vertexId
*/