You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The [Preview] Tables type perhaps introduces unnecessary heterogeneity? Proposal: consider replacing type Tables with a new type RecordSet. A recordset-type-descriptor identifies a record type, plus a possibly empty list of field names used as primary keys. Benefits: reuse of syntactical constructs, reuse of the existing concept "field" (getting rid of columns), gratuitous introduction of default values (not yet included in the Table model).
Also to be considered: shifting the concept of "primary key" into Record, at the same time evolving it into the more abstract notion of "identity defining fields". So it would be conceivable to extend the definition of Record to include optional flags marking fields as contributing to semantic identity, something which might be valuable beyond the use of databases. Primary keys would then simply be an application of semantic identity.
I am trying to gather discussion on that in issue #354. Could you make your comment there? Or I can copy it. We have not made any decision about whether to adopt the proposal, and are open to alternative suggestions.
Description:
The [Preview] Tables type perhaps introduces unnecessary heterogeneity? Proposal: consider replacing type Tables with a new type RecordSet. A recordset-type-descriptor identifies a record type, plus a possibly empty list of field names used as primary keys. Benefits: reuse of syntactical constructs, reuse of the existing concept "field" (getting rid of columns), gratuitous introduction of default values (not yet included in the Table model).
Also to be considered: shifting the concept of "primary key" into Record, at the same time evolving it into the more abstract notion of "identity defining fields". So it would be conceivable to extend the definition of Record to include optional flags marking fields as contributing to semantic identity, something which might be valuable beyond the use of databases. Primary keys would then simply be an application of semantic identity.
Suggested Labels:
Tables, Records, RecordSets, Semantic Identity
The text was updated successfully, but these errors were encountered: