GithubHelp home page GithubHelp logo

zxdong262 / dynamo-sequelize Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 3.0 682 KB

A sequelize wrapper to support Sequelize 5+(partial) and dynamodb

License: MIT License

JavaScript 49.49% TypeScript 50.51%
dynamodb sequelize

dynamo-sequelize's Introduction

Hi there ๐Ÿ‘‹

Anurag's github stats

Top Langs

dynamo-sequelize's People

Contributors

embbnux avatar zxdong262 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dynamo-sequelize's Issues

TypeError: SequelizeDynamo is not a constructor

Hi,

I'm try run sample to use SequelizeDynamo, but I get this error:

const sequelize = new SequelizeDynamo(
^

TypeError: SequelizeDynamo is not a constructor
at Object. (/Users/goldengate/Documents/dev/hfocus/projetos/hfocus-lambda-mailer/functions/dataInput-emailValidation/index.js:77:19)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47

I copy/paste the sample. Only change "import" to "require"

Sugestions?

Expected 0 arguments, but got 2.ts

Following the sample code, I am unable to initialize the SequelizeDynamo object due to the following error:
Expected 0 arguments, but got 2.

How should I fix this?

Also, how can I get nestjs/sequelize to support this library?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.