uuosio / ascdk

MIT License
12 stars 9 forks source link

Implicit secondary index is confusing #50

Closed jafri closed 2 years ago

jafri commented 2 years ago

Would be more clear to have explicit secondary index, to know the "index" used

@secondary(2) @secondary(3)

learnforpractice commented 2 years ago

Fixed secondary indexes are not a good idea.

The code generator will generate a helper property named **DB to get the secondary database object.