brook_storage_postgres v0.1.2 Brook.Storage.Postgres.Statement View Source

Encapsulates the SQL statements BrookStoragePostgres submits to the database as functions for easier maintenance.

Link to this section Summary

Link to this section Functions

Link to this function

create_events_stmt(view_table, events_table)

View Source
Link to this function

create_index_stmt(table, column)

View Source
Link to this function

create_schema_stmt(schema)

View Source
Link to this function

get_events_stmt(table, type \\ false)

View Source
Link to this function

get_stmt(table, key \\ false)

View Source
Link to this function

insert_event_stmt(table)

View Source
Link to this function

prune_delete_stmt(table)

View Source