plsm v2.0.1 Plsm.IO.Export

Link to this section Summary

Functions

Format the text of a specific table with the fields that are passed in. This is strictly formatting and will not verify the fields with the database

Generate the schema field based on the database type

Write the given schema to file

Link to this section Functions

Link to this function prepare(table, project_name)
prepare(Plsm.Database.Table, String.t) :: String.t
prepare(String.t, Plsm.Database.Column) :: String.t

Format the text of a specific table with the fields that are passed in. This is strictly formatting and will not verify the fields with the database

Link to this function type_output(field)

Generate the schema field based on the database type

Link to this function write(schema, name, path \\ "")
write(String.t, String.t, String.t) :: Any

Write the given schema to file.