Crates.io | simple_pg |
lib.rs | simple_pg |
version | 0.5.0 |
source | src |
created_at | 2024-01-08 18:41:51.50725 |
updated_at | 2024-04-11 17:12:31.942247 |
description | Provides extentions and utilites for working with postgres. |
homepage | |
repository | |
max_upload_size | |
id | 1092863 |
size | 24,197 |
A work in progress series of crates to simply working postgreSQL in rust. Based on:
Primary Goals:
impl Deref<Conn>
.SQL macro
sql!(INSERT INTO schema.table VALUES(
{ entity.id },
"some_text",
ST_SetSRID({ geometry }), 4326)
)).execute(&mut tx)?;