Commit Graph

19 Commits

Author SHA1 Message Date
tanner0101 7bb1b85fa1 distinct 2020-06-13 01:20:13 -04:00
tanner0101 add696258a updates 2020-06-12 16:42:44 -04:00
Tanner 017d5cb349
Fluent docs (#502)
* model schema + id

* finish @ID

* add model docs

* vapor-beta plus soft delete updates

* add format docs

* enum

* @Group

* dto section

* save

* address feedback

* updates

* add migrate, start schema

* schema field + constraint

* dictionary / array

* enum + coupling

* outline

* relation docs

* Update 4.0/docs/fluent/model.md

Co-authored-by: Conal O'Neill <conaloneill@users.noreply.github.com>

* eager load

* query docs

* add'l filters

* add'l query props

* range

* finish query

* fix overview

* fix confusing min comment

* advanced

* upgrade fluent guide

* upgrade todo

* fix optional parent

* address comments

* updates

Co-authored-by: Conal O'Neill <conaloneill@users.noreply.github.com>
2020-06-12 15:38:37 -04:00
Manuel Gomez a0108bf5ca
Updated Mongodb package dependency (#488)
The existing code to add MongoDB's driver didn't work because of an extra name and incomplete version on the .product().

```
Error: Could not generate Xcode project: 'hello' /Users/mgomez/Developer/Swift/TrailBucket/hello: error: declared name 'FluentMongoDriver' for package dependency 'https://github.com/vapor/fluent-mongo-driver.git' does not match the actual package name 'fluent-mongo-driver'
```

```
error: because no versions of fluent-mongo-driver match the requirement 1.0.0..<2.0.0 and root depends on fluent-mongo-driver 1.0.0..<2.0.0, version solving failed.
```
2020-05-19 16:28:01 +01:00
Ray Fix 22ec9175f9
Fix typo in CreateStarTag migration (#477)
* Fix typo in CreateStarTag migration

A bigger change would be to change the examples to use the static schema property of the model.  That should probably be done for the whole file though.

* fix tag reference in StarTag example
2020-04-24 17:38:31 -04:00
Joannis Orlandos 3bc0acce3f
Add MongoDB docs for configuration and nested entities (#456)
* Add MongoDB docs for configuration and nested entities

* Update 4.0/docs/fluent/mongo.md

Co-Authored-By: Tim <0xTim@users.noreply.github.com>

* Update 4.0/docs/fluent/config.md

Co-Authored-By: Tim <0xTim@users.noreply.github.com>

* Reorganise fluent docs

* Update mongo docs

* Move MongoDB modelling info into advanced

Co-authored-by: Tim <0xTim@users.noreply.github.com>
2020-04-17 12:09:13 -04:00
Tanner eaf0f72033
console + logging docs (#458)
* console + logging docs

* commands docs

* updates
2020-03-27 17:47:30 -04:00
Jeremy Greenwood 41000c2fdb
Remove Bcrypt hash function argument (#449)
Fixed typo which specified the argument `password` in 

```
func hash(_ plaintext: String, cost: Int = 12) throws -> String
```
2020-03-11 09:43:40 +00:00
tanner0101 b74b590060 timestamp updates 2020-03-02 13:16:47 -05:00
tanner0101 c6a7f75a59 rc.1 updates 2020-03-02 13:07:33 -05:00
rpstro02 eef1360f6a
Siblings (#443)
* added siblings documentation

* more siblings documentation

* siblings

* Add previously abridged siblings and migration code
Improved sibling relationship post request

* Improved tag creation post route
addressed nits
2020-02-20 20:55:03 +00:00
Tanner 6fb3503878
Swift 5.2 requirement (#442) 2020-02-15 13:44:40 -08:00
tanner0101 8536178b4b add migration names, fixes #441 2020-02-15 13:03:26 -05:00
Steve Bryce 2448ff5392
Timestamp and ModelMiddleware docs (#436)
* Timestamp and ModelMiddleware docs

* Readability improvements

* Nit fixes
2020-02-07 13:06:22 +00:00
Tanner c5151a44cb
add authentication (#435)
* add authentication

* update auth

* rm yaml change

* add fluent auth/c

* fixes

* fix nits

* composition
2020-01-22 14:59:59 -08:00
tanner0101 1c8f61f6f2 fix links 2020-01-20 16:09:25 -05:00
Tanner f675ce19f8
Refactor 4.0 Folder Structure (#433)
* validation basics

* refactor folder structure
2020-01-20 12:17:12 -08:00
Bastian Inuk Christensen 98f8095c48 Changed .psql to .mysql in part about mysql (#431) 2020-01-19 10:14:19 -08:00
Tanner ed4878a5e9
start fluent docs (#430)
* start fluent docs

* finish overview

* update sqlite config

* fix nits

* fix typo
2020-01-18 13:09:44 -08:00