To reproduce:
prisma2 initimport { Photon } from "@generated/photon";
const photon = new Photon();
async function main() {
console.log(await photon.users.count());
}
main()
null instead of 0Fixed in latest alpha.
You can try it out with npm i -g prisma2@alpha.
Most helpful comment
Fixed in latest alpha.
You can try it out with
npm i -g prisma2@alpha.