const places = [{place: 1, other: "key"}, {place: 3}, {place: 7}]
const placesMaped = places.map(place => place.place)
const items = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
const itemsFiltered = items.filter(item => !placesMaped.includes(item))
console.log({placesMaped, itemsFiltered})
import {In} from "typeorm";
const users = await connection.getRepository(User).find({
ids: In([1, 2, 3, 4])
})