Code Monkey home page Code Monkey logo

sails-dynamodb-v1's Introduction

Hi there 👋 I am Amit

I am Software Engineer 👨‍💻 from India 🇮🇳

I consider myself a backend developer with decent frontend experience 😁

I have been hacking around stuff majorly in

            
       


Thanks a lot for visiting 😍

Let's get in touch        

sails-dynamodb-v1's People

Contributors

0xsapra avatar amitphulera avatar khuranaharshit avatar maytanthegeek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

harshitkhurana

sails-dynamodb-v1's Issues

Unhandled Exception

if (schema[attr].type === 'SS' || schema[attr].type === 'NS') {

If the attribute is not specified in the Model, and there is data present in Dynamo, this throws an Error.

Example:
My Model does not have an attribute "email" present. But the dynamo table has an entry with "email" as its key, your adapter throws an error.

This happens because it can't normalise the data as it's datatype is unknown to it.

Model.find Unhandled exception

Model.find() keep throwing

(node:38150) UnhandledPromiseRejectionWarning: Unhandled promise rejection 
(rejection id: 1): TypeError: Cannot convert undefined or null to object

Support for local dynamodb

  • For development purpose, local dynamodb is used. So there should be a way to connect to that local dynamodb

String Set data type not supported.

Sails 1.0 Model does not support "array" type for an attribute, instead it asks us to configure it as
{ type: 'json', columnType: 'array' }

When querying the database after configuring it so, the particular attribute fails to parse it from the way AWS Dynamo stores it internally.

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.