Skip to content

Commit

Permalink
Adds create-set to dynamo class
Browse files Browse the repository at this point in the history
  • Loading branch information
dehli committed Nov 26, 2019
1 parent a02b0c2 commit 2a50b6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>dehli</groupId>
<artifactId>serverless</artifactId>
<version>0.1.6</version>
<version>0.1.7</version>
<name>serverless</name>

<dependencies>
Expand Down
3 changes: 3 additions & 0 deletions src/serverless/aws/dynamo_db.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
clj->js
DocumentClient.))

(defn create-set [client values]
(js-invoke client "createSet" (clj->js values)))

(defn delete [client params]
(js-call client "delete" params))

Expand Down

0 comments on commit 2a50b6e

Please sign in to comment.