Tanner

Results 77 issues of Tanner

A property similar to `@Field` for computed columns could be useful for things like case-insensitive text search.

enhancement

https://hashrocket.com/blog/posts/modeling-polymorphic-associations-in-a-relational-database

enhancement
help wanted

Fixes an issue causing `@Group` to silently ignore missing data when decoding (#372). `@Group` will now throw an error if required data is missing while decoding. This prevents force unwrap...

bug
semver-patch

Support a method for checking if a schema / table exists without throwing an error. Current methods used by `_fluent_migrations` and `_fluent_enums` checks to see if querying the table fails....

enhancement

The siblings relation requires a pivot table to relate models. In this table, the user can store some extra information regarding the relation. However, it's currently not easy to access...

enhancement

FluentKit currently allows a few ways to get instances of a model with uninitialized properties: - 1: Non eager-loaded relations (i.e., not using `with(\.$star)`) - 2: Partial query read (i.e.,...

enhancement

The way Model's batch CRUD methods currently work with ModelMiddleware is inconsistent with normal CRUD. When doing a normal, single-model CRUD operation, the actual operation happens when you pass along...

bug
enhancement

Eager loading currently works using a second query with `IN`. Supporting join-based eager loading would allow for eager loads to use a single query. This could also help to work...

enhancement

Support getting aggregates like count, sum, max, etc for grouped field values. SQL would implement this using the `GROUP BY` keyword ```swift let results: [(country: String, count: Int)] results =...

enhancement

Support creating database triggers that execute procedures.

enhancement