Aries Spring
Aries Spring
PPrisma
Created by Aries Spring on 4/25/2025 in #help-and-questions
Searching by null returns no results
Given an example model like this:
model Item {
name: String
ownedBy: String?
}
model Item {
name: String
ownedBy: String?
}
When I try and search like this:
prisma.item.findFirst({
where: {
ownedBy: null
}
});
prisma.item.findFirst({
where: {
ownedBy: null
}
});
It returns nothing - while expected result would be to get the first item that isn't owned by anyone.
3 replies
PPrisma
Created by Aries Spring on 5/15/2024 in #help-and-questions
Why isn’t prisma adding support for mongo change streams?
Is it to sell prisma pulse? If so, isn’t that quite a messed up move? Like intentionally not adding essential features just to sell them in another product?
2 replies