Skip to content

Commit 69b3ce4

Browse files
committed
Changed the order of sections, reviewed screenshots
1 parent 1b65fa0 commit 69b3ce4

File tree

8 files changed

+10
-11
lines changed

8 files changed

+10
-11
lines changed

docs/220-Generate code/10-generate-app-code.mdx renamed to docs/210-Generate code/10-generate-app-code.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import Screenshot from "@site/src/components/Screenshot";
22

33
# 👐 Generate app code
44

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.
77

88
- At the top, switch to Code Generation tab
9-
- Under Language, select `C#`
9+
- Under Language, select `C#` (or your preferred language)
1010
- Under Template, select `Persistence Layer`
1111
- Click each of the collections in the list. Notice the tabs containing entity classes and CRUD helpers for each collection or embedded object.
1212
- Under Language, select `JSON'
1313
- 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.
1515

16-
<Screenshot url="http://127.0.0.1:8278" src="img/generate-app-code.png" alt="Screenshot of the connect modal" />
16+
<Screenshot url="http://127.0.0.1:8278" src="img/generate-app-code.png" alt="Code generation tab" />
1717

docs/220-Generate code/20-convert-queries.mdx renamed to docs/210-Generate code/20-convert-queries.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import Screenshot from "@site/src/components/Screenshot";
33
# 👐 Convert SQL queries
44

55
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 <Link to="http://mongodb.com/try">Atlas account</Link> and internet connectivity.
77

88
- At the top, switch to Code Generation tab
99
- Click Query Converter
10-
- Sign into with your MongoDB Atlas account
10+
- Sign into your MongoDB Atlas account
1111
- Accept the Query Converter licence terms
1212
- Click `Paste SQL query`
1313
- In the empty query, type `SELECT * FROM books WHERE "bookOfTheMonth" = true AND pages > 500`

docs/220-Generate code/30-convert-sprocs.mdx renamed to docs/210-Generate code/30-convert-sprocs.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ import Screenshot from "@site/src/components/Screenshot";
55
Relational Migrator can import and convert views and stored procedures to MongoDB Query Language, wrapped
66
in your choice of programming langauge. This feature uses Artifical Intelligence and requires an Atlas account and internet connectivity.
77

8-
- If needed, open Query Converter and sign in with your Atlas account
9-
- Click Manage database objects
10-
- Enter the details for your PostgreSQL server and click Connect
11-
- Check all discovered Views and Stored Procedures and click Save
8+
- If needed, open Query Converter and sign in with your Atlas account.
9+
- Click on the `Add` button, the `Import from database`.
10+
- Check all Views and Stored Procedures and click `Save`.
1211
- Click one of the imported views or stored procedures
1312
- Select your preferred programming language and click Convert.
1413

static/img/generate-app-code.png

67.2 KB
Loading

0 commit comments

Comments
 (0)