Tag
© 2026 Hashnode
By now, the structure is clear. Permissions answer who may attempt.Policies answer what is valid now. Even together, they are not enough. A system can pass every permission check and every policy gate and still reach an impossible state. That respo...

While working with AdonisJS 5, I ran into an interesting situation that every developer should be aware of when using createMany() in combination with model hooks. In short: when using afterCreate hooks with createMany(), always pass the transaction ...

In the realm of database management, data integrity and consistency are paramount. Database transactions and ACID properties help us achieve this. Let's first understand what a transaction is, and then we will explore ACID properties. What is a Trans...

When you're dealing with thousands or even millions of records, efficiency is king. That's where EF Core bulk update capabilities come into play. EF Core 7 introduced two powerful new methods, ExecuteUpdate and ExecuteDelete. They're designed to simp...
