Skip to content

Neofox: key Secondary Keys

Neofox: thumbsup UNLOCK NEW RELATIONSHIPS

Secondary Keys let components reference Entities or Objects, enabling powerful relationship patterns!

a fennec carrying a golden key

What are Secondary Keys?

fennecs allows component types, which act as primary keys, to also reference an additional secondary key. This enables rich relationship modeling between entities and objects.

Quick Reference

Key TypeDescriptionUse Case
Plain ComponentNo secondary keyStandard component data
RelationTarget is an EntityEntity-to-Entity relationships
Object LinkTarget is an ObjectEntity-to-Object associations

Key Types

Secondary keys may be:

  • Nothing - a Plain Component with no secondary key
  • Entity - designating the component as a Relation to the target Entity
  • Object - constituting an Object Link to a reference type

fennecs is released under the MIT License. Neofox is released under the CC BY-NC-SA 4.0 License.