Knowledge engineer.
Technology strategy leader.
Mentor/Advisor
-
SLYD ENTERPRISES, Australia/Egypt
- Egypt, Australia
- https://www.linkedin.com/in/shaadydawood/
Pinned Loading
-
dynamo-update-expression
dynamo-update-expression PublicGenerate DynamoDB Update Expression by diff-ing original and updated documents
-
-
pipe and compose
pipe and compose 1const pipe = (...fns) => fns.reduceRight((f, g) => (...args) => f(g(...args)));
23const compose = (...fns) => fns.reduce((f, g) => (...args) => f(g(...args)));
45const add10 = x => x + 10;
-
Async Wrapper for DocumentClient.query
Async Wrapper for DocumentClient.query 1async function query(table, {keyConditionExpression, expressionAttributeValues} = {}, options = {}, params = {}) {
2const docClient = new AWS.DynamoDB.DocumentClient({...options});
3const requiredParams = {
4TableName: table,
5KeyConditionExpression: keyConditionExpression,
-
Transducer with Array.reduce()
Transducer with Array.reduce() 1const compose = (...fns) => fns.reduce((f, g) => (...args) => f(g(...args)));
23// plain old mapping functions
4const add10 = x => x + 10;
5const square = x => x * x;
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.