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

Constant value fields #770

Open
benjelloun opened this issue Nov 26, 2024 · 0 comments
Open

Constant value fields #770

benjelloun opened this issue Nov 26, 2024 · 0 comments

Comments

@benjelloun
Copy link
Contributor

It's often useful to associate key-value pairs at the level of a RecordSet. We propose doing that by adding a "value" property to Field that allows it to have a fixed value.

This is similar to the "data" property of RecordSet, that makes it possible to specify the values (records) contained in a RecordSet directly in the Croissant definition.

The "value" of a Field can be atomic, for Fields with a simple dataType, or it can be structured, in case the Field has SubFields. For the latter case, a JSON string can be used to represent the value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant