Is it possible to create a composite primary key in RethinkDB? For example, if I have a table with the following strucure documents {authorsId: '371df80c-2efd-48f9-ac37-3edcdb152fb1', postsId: '905e0c92-adcb-4095-98df-fa08ca71b900'}, how can I create a primary key together authorsIdand postsId. Or, if I cannot do this, how to use many, many relationships in three tables. Am I using one field as the primary key and the second as the secondary?
source
share