postgres_extras 0.1.0

Provides extentions and utilites for working with postgres.
Documentation
  • Coverage
  • 0%
    0 out of 47 items documented0 out of 33 items with examples
  • Size
  • Source code size: 32.49 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.48 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • exrok

Postgres Extras

Work in progress create to provide common utilities for interfacing with postgres via the postgres or `tokio-postgres** crate.

Features

SQL macro

    sql!(INSERT INTO schema.table VALUES(
        { entity.id },
        "some_text",
        ST_SetSRID({ geometry }), 4326)
    )).execute(&mut tx)?;