Amends the `UserNameMigration` code example in the "Model Coupling"
section of the Schema documentation with correct syntax. Added closing
square brackets to the dictionary literals passed into
`QueryBuilder.set(_ data:)` in multiple places.
A reference to .sql() was added to the Field Constraint list so that
anyone who is looking for any other options knows there is the
possibility to use SQLKit.
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
I translated the "Fluent > Overview" page into Japanese.
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
As in title
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
As I've noticed on a [discord
conversation](https://discord.com/channels/431917998102675485/684159753189982218/1152776938281250896),
the `load(on:)` method is discouraged to be used and should be replaced
with `get(on:)`, which defaults to cache if possible.
I've seen this asked more than once
---------
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Co-authored-by: Gwynne Raskind <gwynne@vapor.codes>
issue included are:
#861#836#818#812
Some issues have been fully translated as well:
closes#791closes#788closes#811
---------
Co-authored-by: Joannis Orlandos <joannis@orlandos.nl>
* ISSUE-816: Spanish translation for menu entry Fluent->overview.
Also creating two files that are being referenced from overview file
* Related to ISSUE-816: Delete recently created 2 files because they are not translated and it is not necessary to have them because the system takes english in that case
* Related to ISSUE-816: Change .es.md extension in the links to only .md because it is managed automatically
* Code review done from jacortaf10
* Code review done from jacortaf10 part 2
* Use of regular expressions for MongoDB
The API allows to create a Document with a regular expression to query for items, but there's no documentation about it.
Ideally the key "name" is created using FieldKey.makeMongoKey(), but the extension is internal, so we must hardcode it for now.
* Apply suggestions from code review
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>