Swiss.Ecto.Schema (swiss v3.12.0) View Source

Helper functions for handling ecto schemas.

Link to this section Summary

Functions

Converts an Ecto struct into a map, including embeds.

Link to this section Functions

Specs

to_map(struct()) :: map()

Converts an Ecto struct into a map, including embeds.