Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jroesch/pg-typeprovider
A macro that implements a type provider for PostgreSQL schema.
https://github.com/jroesch/pg-typeprovider
Last synced: 24 days ago
JSON representation
A macro that implements a type provider for PostgreSQL schema.
- Host: GitHub
- URL: https://github.com/jroesch/pg-typeprovider
- Owner: jroesch
- Created: 2014-11-10T08:33:38.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-11T19:40:55.000Z (almost 10 years ago)
- Last Synced: 2023-03-22T15:57:04.245Z (over 1 year ago)
- Language: Rust
- Size: 200 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pg-typeprovider
===============A macro that implements a type provider for PostgreSQL schema. The macro takes the table name as an argument
and will deal with the capitlization and depluralization of it into a structure name. It will then read the
schema and generate a corresponding structure.This is very alpha quality work and is being used for a class project that consists of an application that
defines the schema in ActiveRecord, and the idea is to allow Rust to attach to the database and automatically
deal with any schema updates by reading the database.Feel free to submit PRs, comments, ect.