Difference between lucid serializer and database serializer


Hello all,
I’m new to adonis and I’m wondering while installing auth package. It’s asking for serializer, which one you want to use lucid or database. I am curious to know what the exact difference between these two.


Lucid serializer uses Lucid models and Database serializer uses Database query builder to query the database.

When you define a model, then auth package will find the table name user primary key details from the model, otherwise you need to define them with database serializer


thanks buddy…