Crates.io | postgres_extras |
lib.rs | postgres_extras |
version | 0.1.0 |
source | src |
created_at | 2023-04-21 15:48:35.42725 |
updated_at | 2023-04-21 15:48:35.42725 |
description | Provides extentions and utilites for working with postgres. |
homepage | |
repository | |
max_upload_size | |
id | 845410 |
size | 9,779 |
Work in progress create to provide common utilities for interfacing
with postgres via the postgres
or `tokio-postgres** crate.
SQL macro
sql!(INSERT INTO schema.table VALUES(
{ entity.id },
"some_text",
ST_SetSRID({ geometry }), 4326)
)).execute(&mut tx)?;