Luca Cappelletti

Results 85 issues of Luca Cappelletti

Pull request to address the issue #1514

enhancement

This pull request solves part of issue #1516, introducing ON DELETE CASCADE, SET NULL and SET DEFAULT. It DOES NOT add support for the ON UPDATE counter parts as, as,...

This pull request resolves issue #1523 and adds support for working CHECK constraints, both column-wise and table-wise. It is dependent on pull request #1521 being merged first.

The CHECK constraint is not yet supported. Adding support for the CHECK constraint should be, hopefully, significantly easier to implement compared to the Triggers (#1520) as there is already support...

This pull request adds support for `CREATE TRIGGER` and `DROP TRIGGER` statements. It is dependent on the pull request #1521. This pull request is still a draft as for TRIGGERs...

As per the title, the library still lacks support for CREATE TRIGGER statements. I understand that this is also because the SQL parser does not yet support them, so I...

As described in issue #1518, GlueSQL at this time lacks support for the UNIQUE constraint, and of course, this includes also the composite version of the UNIQUE constraint. This pull...

At this time, `CREATE table` statements involving a composite UNIQUE constraint will fail with an error such as the following one. `Translate(UnsupportedConstraint("CONSTRAINT organizations_name_country_id_unique UNIQUE (name, country_id, state_province)"))` I will be...

As per the title, at this time, having a CASCADE on a foreign key constraint will raise `Translate(UnsupportedConstraint("CASCADE"))`. I will look into it.

[Mem-dbg](https://crates.io/crates/mem_dbg) is a crate that allows to compute the size of a struct. I have added the derives through the crate as an optional feature, so as to use it...