Mosql.Schema.Mapping (mosql v0.1.0)

Represents the Mongo collection to SQL schema mapping

Link to this section Summary

Types

t()

Mapping type definition

Link to this section Types

@type t() :: %Mosql.Schema.Mapping{
  mongo_key: String.t(),
  primary_key: boolean(),
  sql_column: String.t(),
  sql_type: String.t()
}

Mapping type definition

Link to this section Functions

Link to this function

to_struct(values)