graphile-query 2.3.12 → 2.3.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.
Files changed (2) hide show
  1. package/README.md +10 -12
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -16,29 +16,27 @@
16
16
  </a>
17
17
  </p>
18
18
 
19
- ## GraphileQuery: Simple GraphQL Execution with PostGraphile Context
20
-
21
- This module provides utilities to execute GraphQL queries against a PostGraphile-generated schema using PostgreSQL connection pooling and contextual role-based settings.
19
+ **`graphile-query`** provides utilities to execute GraphQL queries against a PostGraphile-generated schema using PostgreSQL connection pooling and contextual role-based settings.
22
20
 
23
21
  It includes two main classes:
24
22
 
25
23
  * `GraphileQuery`: A flexible query runner that supports `pgSettings`, role-based access control, and custom request context.
26
24
  * `GraphileQuerySimple`: A minimal wrapper for GraphQL execution without advanced role or settings logic.
27
25
 
28
- ## Features
26
+ ## 🚀 Installation
27
+
28
+ ```bash
29
+ npm install graphile-query
30
+ ```
31
+
32
+ ## ✨ Features
29
33
 
30
34
  * Built-in support for PostGraphile context and role-based `pgSettings`
31
35
  * Works with pre-built PostGraphile schemas
32
36
  * Supports raw string queries or parsed `DocumentNode`s
33
37
  * Integrates with PostgreSQL via `pg.Pool`
34
38
 
35
- ## Installation
36
-
37
- ```bash
38
- npm install graphile-query
39
- ```
40
-
41
- ## Usage
39
+ ## 📦 Usage
42
40
 
43
41
  Use as a particular role, skipping any auth logic:
44
42
 
@@ -114,7 +112,7 @@ const result = await client.query(`
114
112
  `);
115
113
  ```
116
114
 
117
- ## API
115
+ ## 📘 API
118
116
 
119
117
  ### `getSchema(pool, settings)`
120
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphile-query",
3
- "version": "2.3.12",
3
+ "version": "2.3.13",
4
4
  "author": "Dan Lynch <pyramation@gmail.com>",
5
5
  "description": "graphile query",
6
6
  "main": "index.js",
@@ -44,5 +44,5 @@
44
44
  "graphile",
45
45
  "launchql"
46
46
  ],
47
- "gitHead": "4e1ff9771c2b07808a9830281abc24d12c689187"
47
+ "gitHead": "00c90828cab8d3e306ebb2bc6053aab4aa9ae807"
48
48
  }