jcberquist/aws-cfml

Dynamodb partiql

victorbvieira opened this issue · 2 comments

hello, I tried to implement the dynamodb partiql in the library, as it seemed simpler to run queries.
but, I was not successful.
Could you implement a method that uses dynamodb partiql ? https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ql-reference.html

Hi in v1.21.0 I added support for ExecuteStatement, BatchExecuteStatement, and ExecuteTransaction. Let me know if this helps!

To give a simple example:

aws = new awscfml.aws();

statement = "
SELECT *
FROM Orders
WHERE OrderID = ?
"
res = aws.dynamodb.executeStatement( statement = statement, parameters = [ 100 ] );

writeDump( res );

Very Tks ;)