Lucas Pires Fernandes
                                            Lucas Pires Fernandes
                                        
                                    Using `[email protected]`, this query: ```ts const campaigns = await db.query.Campaign.findMany({ where: eq(Campaign.userId, session.userId), }) ``` now generates this SQL: ``` select "id", "userId", "templateId", "name", "active" from "Campaign" where $1"Campaign"."userId"$2$3$4...
Well, I think this issue was solved, but with it came some side effects. Should I close this one and open another issue addressing these errors?
Yes, it was. Thank you, Drizzle team!
By default, nullable fields are assigned to null if no data is provided in INSERT statement. There is no point to add null as default because it already is.