c3p0 v0.2.0 C3PO.GenerateGuid protocol View Source

Generate attributes for a new guid given a resource.

Link to this section Summary

Link to this section Types

Link to this type

child_type()

View Source
child_type() :: atom()
Link to this type

generated_attrs()

View Source
generated_attrs() :: %{id: binary(), guid: String.t()}

Link to this section Functions

Link to this function

generate_new_attrs(data)

View Source
generate_new_attrs(term()) :: generated_attrs()
Link to this function

generate_new_attrs(data, child_type)

View Source
generate_new_attrs(term(), child_type()) :: generated_attrs()