This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openjdk:8 | |
# Install Git and dependencies | |
RUN dpkg --add-architecture i386 \ | |
&& apt-get update \ | |
&& apt-get install -y file git curl zip libncurses5:i386 libstdc++6:i386 zlib1g:i386 \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists /var/cache/apt | |
# Set up environment variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const generateUpdateQueryExpression = (fields: Partial<TableStructure>) => { | |
const exp = { | |
UpdateExpression: "SET", | |
ExpressionAttributeNames: {} as ObjectWithProperties, | |
ExpressionAttributeValues: {} as ObjectWithProperties, | |
}; | |
Object.entries(fields).forEach(([key, item]) => { | |
const keyParts = key.split("."); | |
const valueKey = keyParts[keyParts.length - 1]; | |
const attributeNames = `#${keyParts.join(".#")}`; |
OlderNewer