Skip to content

Derive Macro example to generate code for basic interaction with a db

Notifications You must be signed in to change notification settings

sromero0889/db-clients

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DB Clients

This repo contains an example of a Derive Macro that generates code for basic interaction with a db.

Current status

  • Databases: Sqlite (using rusqlite)
  • Generated repository methods:
    • Create table

Next

  • Databases: Postgresql
  • Generated repository methods:
    • Crud

DB Client Derive Macro

SqliteEntity

Usage example in sqlite-client

TODO: Add examples & doc here

About

Derive Macro example to generate code for basic interaction with a db

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages