Skip to content

Commit b93271e

Browse files
author
Mandar Zope
committed
included doc client in all functions
1 parent c077351 commit b93271e

File tree

2 files changed

+36
-10
lines changed

2 files changed

+36
-10
lines changed

README.md

+35-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,37 @@
1-
##Loopback Connector for DynamoDB version 0.1.0
2-
* This is still in beta stage. **Do not use it for production release.**
3-
* It was originally forked from [jugglingdb-dynamodb](https://github.com/tmpaul/jugglingdb-dynamodb).
4-
* installation: npm install loopback-connector-dynamodb --save
1+
---
2+
title: "DynamoDB connector"
3+
lang: en
4+
toc: false
5+
keywords:
6+
source: loopback-connector-dynamodb
7+
tags: [community]
8+
sidebar: community_sidebar
9+
permalink: /doc/en/community/dynamo-connector.html
10+
---
511

6-
####Upcoming features
7-
- Support for String, Number sets.
12+
## Link
813

9-
####Bugs, Features, Enhancements etc.
10-
- The adapter is still in its development stage, and as a result the functionality is still lacking in some areas & few bugs are expected. Please create issues in the github repository to address these. Also please try to include a test case or error log if you are reporting a bug. Good luck!
14+
[https://github.com/mandarzope/loopback-connector-dynamodb](https://github.com/mandarzope/loopback-connector-dynamodb)
15+
16+
## Overview
17+
18+
DynamoDB Connector for loopback (compitable with datasource-juggler)
19+
20+
## Features
21+
22+
In progress
23+
24+
Provide a list of the features here.
25+
26+
## Benefits of the project
27+
28+
In progress
29+
30+
Describe how your project benefits the LoopBack developer.
31+
32+
## Demo or sample code
33+
34+
In progress (Please give me some time to write examples)
35+
36+
Give a short demo of how the project works.
37+
Summarize your demo here and provide more sample code (or link to API docs, etc.) if necessary.

lib/dynamodb.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,7 @@ function scan(model, filter, queryString, timeStart) {
841841
}
842842
queryString = queryString + ' WITH SCAN OPERATION ';
843843
logger.log("info",queryString.blue , stopTimer(timeStart).bold.cyan);
844+
844845
return tableParams;
845846
}
846847
/**
@@ -1183,7 +1184,6 @@ DynamoDB.prototype.save = function save(model, data, callback) {
11831184
if (err) {
11841185
callback(err, null);
11851186
} else {
1186-
console.log(res);
11871187
callback(null, originalData);
11881188
}
11891189
}.bind(this));
@@ -1260,7 +1260,6 @@ DynamoDB.prototype.updateAttributes = function (model, pk, data, callback) {
12601260
}
12611261
}
12621262
tableParams.ReturnValues = "ALL_NEW";
1263-
console.log(tableParams);
12641263
this.docClient.update(tableParams, function (err, res) {
12651264
if (err) {
12661265
callback(err, null);

0 commit comments

Comments
 (0)