fluent icon indicating copy to clipboard operation
fluent copied to clipboard

Vapor ORM (queries, models, and relations) for NoSQL and SQL databases

Results 29 fluent issues
Sort by recently updated
recently updated
newest added

I've got a `Migration` that adds a foreign key field to a `Model`: ```swift struct UpdateUnitTable1: Migration { func prepare(on database: Database) -> EventLoopFuture { database.schema("Unit") .field("createdByUserId", .uuid) .foreignKey("createdByUserId", references:...

bug

### Issue **Problem:** 1) Situation: Applying a JOIN operation via .join or .with 2) Next, if you specify to retrieve only specific fields (instead of returning the whole set) you...

bug

Are there any plans to support COLLATION in Fluent or Postgres-kit/MySQL-kit https://www.postgresql.org/docs/current/collation.html I am trying to create a COLLATION during schema creation in the Migration script . Is there a...

enhancement

Updates `DatabaseSessions` as corollary to Vapor [PR #2386](https://github.com/vapor/vapor/pull/2386)

enhancement

### Describe the bug When running a Postgres instance I sometimes get back: ``` [ERROR] Connection request timed out. This might indicate a connection deadlock in your application. ``` I've...

bug

**Is your feature request related to a problem? Please describe.** When loading the children of a parent model, it would useful to enable sorting (and perhaps other modifications of the...

enhancement

### Describe the bug Fail to decode data correctly to string from mysql. ### To Reproduce Mariadb: AWS RDS ``` > SELECT VERSION(); >> 10.4.13-MariaDB-log ``` ``` CREATE TABLE `channels`...

bug

### Describe the bug saving and retrieving an array of arrays of a custom type is not possible. ### To Reproduce I have a person struct like this ``` public...

bug

**Is your feature request related to a problem? Please describe.** Currently we cannot use a .withDeleted() on a nested eager load, this is causing an issue when trying to account...

enhancement

I'm using the Fluent as a library independently of vapor, and trying to connect to database using the following simple code: ``` // Assume that the 'databases', 'logger', and 'eventloop'...