#postgresql #sql #extra #utilites #entity-id #table #extentions

postgres_extras

Provides extentions and utilites for working with postgres

1 unstable release

0.1.0 Apr 21, 2023

#1752 in Database interfaces

MIT license

10KB
203 lines

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)?;

Dependencies

~8–19MB
~315K SLoC