D need an ORM library!

binghoo dang dangbinghoo at gmail.com
Wed Aug 22 06:14:40 UTC 2018


On Tuesday, 21 August 2018 at 10:48:30 UTC, bauss wrote:

> Currently (When I get time again) working on implementing 
> PostgreSQL and Sqlite support for Diamond.
>
> Mysql and Mssql should work out the box.
>
> https://github.com/DiamondMVC/Diamond
>
> Some examples will come later, unless you use the latest stable 
> version of Diamond then you have examples for MySql, but the 
> implementation changes with the next release.
>
> http://diamondmvc.org/docs/data/#database
>
> I wouldn't call it light-weight like you explain, because it 
> does have the whole framework, but you could technically just 
> strip out the part of compile it with the appropriate flags to 
> exclude the parts you don't need like the webserver.
>
> Else take a look at https://github.com/buggins/hibernated and 
> perhaps https://github.com/buggins/ddbc is enough.

yeah, Diamond is great, but I think it will be more wonderful if 
it's database ORM can be separated to a standalone project, 
that's would be useful for the application that's is not WEB 
oriented but need an ORM.


More information about the Digitalmars-d-learn mailing list