You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/210-Generate code/10-generate-app-code.mdx
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,16 @@ import Screenshot from "@site/src/components/Screenshot";
2
2
3
3
# 👐 Generate app code
4
4
5
-
Relational Migrator allows you to generate application code in a variety of languges, dervied from your MongoDB schema definition.
6
-
While this code is not production-ready, it can save developers significant time compared to creating entity classes by hand.
5
+
The Relational Migrator allows you to generate application code in a variety of languages, derived from your MongoDB schema definition.
6
+
While this code is not a full-blown app, it can save developers significant time compared to creating entity classes by hand.
7
7
8
8
- At the top, switch to Code Generation tab
9
-
- Under Language, select `C#`
9
+
- Under Language, select `C#` (or your preferred language)
10
10
- Under Template, select `Persistence Layer`
11
11
- Click each of the collections in the list. Notice the tabs containing entity classes and CRUD helpers for each collection or embedded object.
12
12
- Under Language, select `JSON'
13
13
- Under Template, select `Sample Documents`. Notice how you can view examples of how data in each collection will be structured.
14
-
- Under Template, select `JSON Schema (MongoDB)`. Notice how you can view and download JSON Schema validators which could be used to enforce schema compliance.
14
+
- Under Template, select `JSON Schema (MongoDB)`. Notice how you can view and download JSON [Schema validators](https://mongodb-developer.github.io/intro-lab/docs/category/schema-validation) which could be used to enforce schema compliance.
15
15
16
-
<Screenshoturl="http://127.0.0.1:8278"src="img/generate-app-code.png"alt="Screenshot of the connect modal" />
Copy file name to clipboardExpand all lines: docs/210-Generate code/20-convert-queries.mdx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,11 @@ import Screenshot from "@site/src/components/Screenshot";
3
3
# 👐 Convert SQL queries
4
4
5
5
Relational Migrator can help convert SQL queries to MongoDB Query Language, wrapped
6
-
in your choice of programming langauge. This feature uses Artifical Intelligence and requires an Atlas account and internet connectivity.
6
+
in your choice of programming langauge. This feature uses Artifical Intelligence and requires an <Linkto="http://mongodb.com/try">Atlas account</Link> and internet connectivity.
7
7
8
8
- At the top, switch to Code Generation tab
9
9
- Click Query Converter
10
-
- Sign into with your MongoDB Atlas account
10
+
- Sign into your MongoDB Atlas account
11
11
- Accept the Query Converter licence terms
12
12
- Click `Paste SQL query`
13
13
- In the empty query, type `SELECT * FROM books WHERE "bookOfTheMonth" = true AND pages > 500`
0 commit comments