EctoGraf

Build StatusVersionHex DocsDownloadLicenseLast Updated

Take advantage of Ecto associations to deep clone data in your database.

To clone a post with it’s comments and tags:

{:ok, cloned_post_id} = EctoGraf.clone(%Post{id: 5}, Repo, %{title: "new title"}, [Comment, PostTag])

Todo