db_constraints 0.0.4

SQL db constraints for your classes.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

db_constraints

Build Status

Coverage Status

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.

Future

  • [ ] Add in struct functionality
  • [ ] Auto increment (possibly)
  • [ ] Nested classes
Authors:
  • Matthew Armbruster
Dependencies:
none
Versions:
0.0.7 2015-Nov-17
0.0.6 2015-Oct-25
0.0.5 2015-Oct-15
0.0.4 2015-Oct-12
~master 2016-Mar-08
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 111 downloads total

Score:
0.0
Short URL:
db_constraints.dub.pm