Change the index for entry lookups to an FPP enum instead of a bare integer. Put that enum in a configuration file in the config directory so projects can customize it.
Rationale
Using PolyDb internally in code can be error prone and more obscure if there are just integers as the index. This allows getting entries with a descriptive enum instead of an integer.
Svc/PolyDb
Feature Description
Change the index for entry lookups to an FPP enum instead of a bare integer. Put that enum in a configuration file in the
config
directory so projects can customize it.Rationale
Using
PolyDb
internally in code can be error prone and more obscure if there are just integers as the index. This allows getting entries with a descriptive enum instead of an integer.