Commit graph

6 commits

Author SHA1 Message Date
Leon Mika ed53173a1d
Added the "export -all" switch (#54)
Extended the "export" command with an "-all" flag. When included, all rows of the table matching the query will be exported to CSV.
2023-07-31 20:59:05 +10:00
Leon Mika 4b4d515ade
Added a few changes to query expressions (#51)
- Added the between operator to query expressions.
- Added the using query expression suffix to specify which index to query (or force a scan). This is required if query planning has found multiple indices that can potentially be used.
- Rewrote the types of the query expressions to allow for functions to be defined once, and be useful in queries that result in DynamoDB queries, and evaluation.
- Added some test functions around time and summing numbers.
- Fixed a bug in the del-attr which was not honouring marked rows in a similar way to set-attr: it was only deleting attributes from the first row.
- Added the -to type flag to set-attr which will set the attribute to the value of a query expression.
2023-04-14 15:35:43 +10:00
Leon Mika 348251c1cf Finished the mapping between dynamo attribute values and tamarin values 2023-01-29 09:12:39 +11:00
Leon Mika 917663fac0
Issue 33: Finished most aspects of the expression language (#38)
- Most aspects of scans and queries can now be represented using the expression language
- All constructs of the expression language can be used to evaluate items
2022-11-18 07:31:15 +11:00
Leon Mika 7b194d0a19 Fixed prompt input to filter out 0x0D and 0x08 keystrokes
These can occur when pasting input with line-feeds.
2022-07-18 20:36:31 +10:00
Leon Mika 2dbd664dd2 Modified put to put all dirty or marked items 2022-07-16 11:35:53 +10:00