Home > front end >  Many model of the array to find the problem
Many model of the array to find the problem

Time:09-18

Such an array
 

{type: 1, id: 1,... },
{type: 1, id: 2,... }
.
{type: 2, id: 1,... },
{type: 2, id: 2,... },
. ,
{type: 3, id: 1,... },
{type: 3, id: 2,... },
{type: 3, id: 3,... },
.
.
]

Array is larger, how to effectively to the type and id
query?

CodePudding user response:

Thought of the junction

CodePudding user response:

Then I pick up a minute?
  • Related