Simple mappings with no namespacing/prefixing/etc? #503
jpage-godaddy
started this conversation in
General
Replies: 2 comments
-
Hey @jpage-godaddy 👋 Yes, you can use Electro with an existing table. There is some documentation on this topic here, which details a few of the options you'll need to consider:
Here's an example of how this might look: playground |
Beta Was this translation helpful? Give feedback.
0 replies
-
Awesome, thanks. I do find it inconvenient and a possible foot-gun to have to manually pass |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wanting to migrate a library that is based on a framework stuck on AWS SDK v2 and has fallen out of maintenance. I was looking into using ElectroDB, however I want this to be compatible with existing table data, and I'm feeling some doubts the more I look at the documentation.
The prior library has a one-to-one entity to table relationship. Every entity type was in its own table; we don't do any kind of joining or anything like that. As a result, we don't want key prefixes, namespacing, anything like that, but it's not clear if that can be disabled and how to do that.
Will ElectroDB work for our use case, just a simple schema-enforcing interface for DynamoDB tables?
Beta Was this translation helpful? Give feedback.
All reactions