postgres_extras

Crates.iopostgres_extras
lib.rspostgres_extras
version0.1.0
sourcesrc
created_at2023-04-21 15:48:35.42725
updated_at2023-04-21 15:48:35.42725
descriptionProvides extentions and utilites for working with postgres.
homepage
repository
max_upload_size
id845410
size9,779
Thomas Dagenais (exrok)

documentation

README

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)?;
Commit count: 0

cargo fmt