simple_pg

Crates.iosimple_pg
lib.rssimple_pg
version
sourcesrc
created_at2024-01-08 18:41:51.50725
updated_at2024-11-04 14:27:27.522103
descriptionProvides extentions and utilites for working with postgres.
homepage
repository
max_upload_size
id1092863
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Thomas Dagenais (exrok)

documentation

README

simple_pg

A work in progress series of crates to simply working postgreSQL in rust. Based on:

Primary Goals:

  • Deeply integrate query builder.
  • Unify client types so generic client isn't needed. Replaced by impl Deref<Conn>.
  • Provided methods for fast & parallel unit testing via schema universes.
  • Optimize performance for our use cases.
  • Reduce incremental compile times via reducing monomorphization.

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