@windsor/upsert-user

0.0.2 • Public • Published

Upsert User

The purpose of this is to use normalized events to create or update users in the team.users table.

This "upsert" is actually a bit different than the normal definition. Each field is indepepndently updated iff the incoming change won't make the field null. This lets us construct users that are the superset of user data from various sources

This package expects PG env variables to be defined. See index.js for what needs to be set.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i @windsor/upsert-user

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

7.88 kB

Total Files

6

Last publish

Collaborators

  • atfaust2
  • pranaygp