docs: added examples page (#9587)
- Added an examples page with examples of all different concepts in Medusa. We'll probably add more examples with time as we see the need for them. - Small fixes in different pages. Preview: https://resources-docs-ocb5uyp0o-medusajs.vercel.app/v2/resources/examples
This commit is contained in:
@@ -28,8 +28,8 @@ So, to run database queries in a service:
|
||||
For example, in your service, add the following methods:
|
||||
|
||||
export const methodsHighlight = [
|
||||
["4", "getCount", "Retrieves the number of records in `my_custom` using the `count` method."],
|
||||
["8", "getCountSql", "Retrieves the number of records in `my_custom` using the `execute` method."]
|
||||
["11", "getCount", "Retrieves the number of records in `my_custom` using the `count` method."],
|
||||
["18", "getCountSql", "Retrieves the number of records in `my_custom` using the `execute` method."]
|
||||
]
|
||||
|
||||
```ts highlights={methodsHighlight}
|
||||
|
||||
Reference in New Issue
Block a user