Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support unknown attributes #709

Open
michalkotowski1 opened this issue Jul 24, 2024 · 2 comments
Open

Support unknown attributes #709

michalkotowski1 opened this issue Jul 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@michalkotowski1
Copy link

How to solve the case where only one PK is known parameter in the table, others column names are not known.
Can we somehow at least save such entry.
In dynamooose there is param 'saveUnknown' defined in schema - it lets you specify if the schema should allow properties not defined in the schema.

@benhutchins
Copy link
Owner

One of the primary goals of Dyngoose is strict typing, which isn’t possible with unknown attributes. If this gets more interest it’s something that could be added though.

@benhutchins benhutchins added the enhancement New feature or request label Jul 24, 2024
@michalkotowski1
Copy link
Author

sure, thx
my case: I'm using it for replicating SAP tables: vbak sap table Fields can be dynamically added over time, we don't want to miss them. We are simply saving all fields as a Strings. I guess that there are more cases like that in example storing IoT events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants