alexfu / SQLiteQueryBuilder

A library that provides a simple API for building SQLite query statements in Java.
MIT License
70 stars 21 forks source link

Foreign Key Support #47

Closed shadeven closed 8 years ago

shadeven commented 8 years ago

This is to address issue #46. It adds support for defining one or multiple foreign keys when creating a new table.
@alexfu, please review and contact me for any issue.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.1%) to 96.99% when pulling fd8fdcc66e355664329ea37c6af3960c2a7196b8 on shadeven:feature/foreign-key into b2f09991eab0e52f04bc76e949b466dd41eae35b on alexfu:develop.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.1%) to 96.99% when pulling b2c1aff20c4ba00565921d7f4dba61c7c443ff5c on shadeven:feature/foreign-key into b2f09991eab0e52f04bc76e949b466dd41eae35b on alexfu:develop.

alexfu commented 8 years ago

Looks good to me. Thanks!

shadeven commented 8 years ago

@alexfu Thanks for your review. This PR is just an initial version for foreign key support. The other advanced features such as composited FK, deferred FK and on delete/update are not implemented in this version. They will be added in the future when we have the need.

If you are happy with it, please release the latest when you have time. Thanks.