Replies: 5 comments 2 replies
-
Running into the same issue. Have some data in cache in DynamoDB on Vapor, but I can't seem to clear it. What's the best approach here? |
Beta Was this translation helpful? Give feedback.
-
Have the same problem when running |
Beta Was this translation helpful? Give feedback.
-
@didix16
|
Beta Was this translation helpful? Give feedback.
-
Also Added option to override the command without editing vendor files.
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the solution, This worked for me however i had to override the entire DynamoDbStore.php file to get this to work, i achieved this using composer exclude-from-classmap
Would be great if there was a way to just override the flush method on the class instead. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm using Laravel Vapor for a serverless project and also I'm using DynamoDB as a caching system. I just realized that flush method is throwing and Exception:
I don't understand why because it can be implemented by using the DynamoDbClient::scan method and then delete all items looping through them or just deleting the table and recreating it again.
Here is my approach:
So what do you think? Hope could be implemented.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions