MyApp v0.1.0 Bubbles.Url.Schema View Source

TBD

Link to this section Summary

Link to this section Functions

Link to this function create_with_url(uri, repo, url_schema, schema_create_fn, strategy \\ Bubbles.Url.GeneratorStrategy) View Source
Link to this function create_with_url_multi(uri, repo, url_schema, schema_create_fn, strategy \\ Bubbles.Url.GeneratorStrategy) View Source
Link to this function delete_with_url(schema, repo, url_schema, schema_delete_fn) View Source
Link to this function delete_with_url_multi(schema, repo, url_schema, schema_delete_fn) View Source
Link to this function get_by_uri!(uri, repo, url_schema_module, schema_module) View Source

Fetches a struct of schema_module type associated with the URL that has the matching uri attribute.

For brevity, this function can be wrapped in a function with a shorter signature, for example:

get_article_by_uri!(uri) do
  Bubbles.Url.Schema.get_by_uri!(uri, Foo.Repo, Foo.Url, Foo.Article)
end
Link to this function update_with_url(schema, uri, repo, url_schema, schema_update_fn, strategy \\ Bubbles.Url.GeneratorStrategy) View Source
Link to this function update_with_url_multi(schema, uri, repo, url_schema, schema_update_fn, strategy \\ Bubbles.Url.GeneratorStrategy) View Source