postgres_extras 0.1.0

Provides extentions and utilites for working with postgres.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Postgres Extras

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

## Features

**SQL macro**

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