Documentation
¶
Overview ¶
Example: end-to-end usage of lagodev with an in-memory SQLite database. Run it with `go run ./examples/basic`.
The example is the shortest possible tour:
- open a connection;
- apply a migration via the migrator;
- seed rows through the factory;
- query the ORM with eager-loaded relations;
- perform a soft delete.
Click to show internal directories.
Click to hide internal directories.