Fluent (Vapor) - NoSQL和SQL数据库的Swift ORM框架
Fluent (Vapor) - NoSQL和SQL数据库的Swift ORM框架
3.0.0-rc.2.1.2
Fluent 3.0.0 RC 2.1.2
tanner0101 released this
3.0.0-rc.2.1.2 fix deprecation for reflectProperty
3.0.0-rc.2.1.1
Fluent 3.0.0 RC 2.1.1
tanner0101 released this
3.0.0-rc.2.1.1 move to LosslessStringConvertible
3.0.0-rc.1.0.1
Fluent 3.0.0 RC 1.0.1
tanner0101 released this
Fixed:
- Small fixes in FluentBenchmarker
3.0.0-rc.1
Fluent 3.0.0 RC 1
tanner0101 released this
New:
CSQLite
andSQLite
are now in vapor/sqlite repo.FluentSQLite
is now in vapor/fluent-sqlite repo.
3.0.0-beta.2.2
Fluent 3.0.0 Beta 2.2
tanner0101 released this
Fixed:
- Use non-blocking await during migrations.
3.0.0-beta.2
Fluent 3.0.0 Beta 2
tanner0101 released this
New:
- #376 Referential actions are now supported for
ReferenceSupporting
databases.
try builder.addReference(from: \.ownerID, to: \User.id, actions: ReferentialActions(update: .update, delete: .prevent))
- #376 Auto migration is now available via a static method on
Model where Database: SchemaSupporting
. This will allow for easier customization of migrations.
extension Pet: Migration {
/// See `Migration.prepare(on:)`
public static func prepare(on connection: Database.Connection) -> Future<Void> {
return Database.create(self, on: connection) { builder in
try addProperties(to: builder)
try builder.addReference(from: \.ownerID, to: \User.id)
}
}
}
- #371 Added CRUD operations for
Future where T: Model
let user: Future<User> = ...
user.save(on: ...)
- #372
struct
s can now be conformed toModel
Fixes
SoftDeletable
models can now be saved- Several missing overloads added to
QueryBuilder
operators and methods - Several fixes to relations and joins
3.0.0-beta.1
Fluent 3.0.0 Beta 1
tanner0101 released this
3.0.0-beta.1 3.0 deps
2.5.1
Fluent 2.5.1
tanner0101 released this
Fixed:
.distinct()
now works correctly with aggregate queries.
2.5.0
Fluent 2.5.0
tanner0101 released this
Fixed:
- Allows usage of
.in
and.notIn
filters on joined tables.
2.4.2
Downloads
2.4.1
Downloads
2.4.0
New:
- Swift 4 support.
Fixed:
blob
type publicized.
Downloads
2.3.0
New:
- Easier support for
[UInt8]
(a.k.aBytes
) types usingFluent.Blob
.
Fixed:
- SQLite now properly releases save points after transactions.
exists
is now properly set beforedidCreate
anddidDelete
methods.- Swift 3.2/4 warnings.
Downloads
2.2.0
New:
- Filters are now
NodeConvertible
. - Subset filter overloads.
- Better
.noDatabase
suggested fixes.
Downloads
2.1.2
Downloads
2.1.1
Downloads
2.1.0
New:
- Static lifecycle callbacks on entity.
- Soft delete now works on
SoftDeletable
queries. - Improved
foreignKey
method.
Fixed:
- Row context issues have been resolved.
Downloads
2.0.4
Downloads
2.0.2
Downloads
2.0.0-beta.28
Merge pull request #255 from vapor/customkeys-test-fix-for-postgres Fix case mismatch in the custom keys test
Downloads
热门度与活跃度
2.7
10.0
Watchers:53 |
Star:806 |
Fork:103 |
创建时间: 2016-01-28 06:41:05 |
最后Commits: 23天前 |
许可协议:MIT |
Fluent 3.0.0 RC 2.3.1
Assets