Skip to content

marmy28/db_constraints

Repository files navigation

db_constraints

Dub

Build Status

Coverage Status

Includes

Generating documentation

Ddoc:

dub -b docs

Running tests

dub test

If you want the coverage analysis too use:

dub test -b unittest-cov

Documentation/Tutorials

Please, refer to the wiki for code documentation and tutorial on how to use this package.

Contribution

Contributions are welcome. Feel free to fork and pull request!

Limitations

  • The getter and setter should have the same name. The private member should have the same name as the getter and setter but starting with an underscore. Look at any of the examples on the wiki if this wording does not make sense.
  • You may only foreign key to the referenced class' clustered index. If you foreign key to id's and mark all your id's as primary keys then you do not need to worry about this.
  • Cannot use structs until std.signals can work with structs.

Todo

  • Tips and tricks sample.

About

SQL db constraints for your dlang classes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages