ee
or where typeorm
db.getRepository(MyModel).find({
where: [
{ name: "john", lastName: "doe" },
{ age: 20 }
]
})
This would result to
select * from model where (name = "john" and lastname = "doe") OR age = 20
https://github.com/typeorm/typeorm/blob/master/docs/one-to-one-relations.md
https://www.youtube.com/watch?v=FDnuLtSxEEQ
Comentários
Postar um comentário