Skip to content

Table Definition #438

Answered by tywalch
filipeestacio asked this question in Q&A
Oct 17, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @filipeestacio 👋

Great question, let me see if I can close the gap! The Table Definitions in the documentation are there to help people understand how ElectroDB schemas map to table definitions and also to help people bootstrap the DynamoDB to try the examples.

As you noticed, this is a separate concept from ignoreOwnership. The ignoreOwnership option is helpful for users using a table that already contains data. By default, ElectroDB sets "identifier" fields (__edb_e__ and __edb_v__) on each item and uses those properties to determine which Entity owns the item. If ElectroDB did not create an item, it will lack these fields and be discarded and/or filtered out.

I hope this helps; let …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@filipeestacio
Comment options

Answer selected by filipeestacio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants