graphjin 3.0.11 → 3.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -11,31 +11,31 @@
11
11
 
12
12
  Just use a simple GraphQL query to define your API and GraphJin automagically converts it into SQL and fetches the data you need. Build your backend APIs **100X** faster. Works with **NodeJS** and **GO**. Supports several databases, **Postgres**, **MySQL**, **Yugabyte**, **AWS Aurora/RDS** and **Google Cloud SQL**
13
13
 
14
- The following GraphQL query fetches a list of products, their owners, and other category information, including a cursor for retrieving more products.
15
- GraphJin would do auto-discovery of your database schema and relationships and generate the most efficient single SQL query to fetch all this data including a cursor to fetch the next 20 times. You don't have to do a single thing besides write the GraphQL query.
14
+ The following GraphQL query fetches a list of products, their owners, and other category information, including a cursor for retrieving more products.
15
+ GraphJin would do auto-discovery of your database schema and relationships and generate the most efficient single SQL query to fetch all this data including a cursor to fetch the next 20 times. You don't have to do a single thing besides write the GraphQL query.
16
16
 
17
17
  ```graphql
18
18
  query getProducts {
19
19
  products(
20
20
  # returns only 20 items
21
21
  limit: 20
22
-
22
+
23
23
  # orders the response items by highest price
24
24
  order_by: { price: desc }
25
-
25
+
26
26
  # only items with a price >= 20 and < 50 are returned
27
27
  where: { price: { and: { greater_or_equals: 20, lt: 50 } } }
28
28
  ) {
29
29
  id
30
30
  name
31
31
  price
32
-
32
+
33
33
  # also fetch the owner of the product
34
34
  owner {
35
35
  full_name
36
36
  picture: avatar
37
37
  email
38
-
38
+
39
39
  # and the categories the owner has products under
40
40
  category_counts(limit: 3) {
41
41
  count
@@ -44,7 +44,7 @@ query getProducts {
44
44
  }
45
45
  }
46
46
  }
47
-
47
+
48
48
  # and the categories of the product itself
49
49
  category(limit: 3) {
50
50
  id
@@ -318,7 +318,7 @@ With GraphJin your web and mobile developers can start building instantly. All t
318
318
 
319
319
  ## Documentation
320
320
 
321
- [Quick Start](https://graphjin.com/posts/1-start)
321
+ [Quick Start](https://graphjin.com/posts/start)
322
322
 
323
323
  [Documentation](https://graphjin.com)
324
324
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphjin",
3
- "version": "3.0.11",
3
+ "version": "3.0.13",
4
4
  "description": "GraphJin - Build APIs in 5 minutes with GraphQL",
5
5
  "type": "module",
6
6
  "main": "./wasm/js/graphjin.js",
Binary file