Skip to content

Commit

Permalink
fix: Typo in get started. (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank1016 authored Jan 24, 2024
1 parent 13627f4 commit 294f6a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions versioned_docs/version-1.2.0/01-get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ myCompany = await Company.db.insertRow(session, myCompany);
The method returns the inserted object with its `id` field set from the database.

### Reading from database
Retrieving a single row from the database can done by calling the static `db.findById` method and providing the `id` of the row.
Retrieving a single row from the database can be done by calling the static `db.findById` method and providing the `id` of the row.

```dart
var myCompany = await Company.db.findById(session, companyId);
Expand All @@ -239,4 +239,4 @@ Working with a database is an extensive subject. Learn more in the [Database](co
## Where to go next
You should now have a basic understanding of how Serverpod works. The different topics are described in more detail in the _Concepts_ section of the documentation. If you are unfamiliar with server-side development, a good staring place for learning is to do the [Build your first app](tutorials/first-app) tutorial. There are also many good video tutorials linked in the _Tutorials_ section.

If you get stuck, never be afraid to ask questions in our [community on Github](https://github.com/serverpod/serverpod/discussions). The Serverpod team is very active there, and many questions are also answered by other developers in the community.
If you get stuck, never be afraid to ask questions in our [community on Github](https://github.com/serverpod/serverpod/discussions). The Serverpod team is very active there, and many questions are also answered by other developers in the community.

0 comments on commit 294f6a2

Please sign in to comment.