You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-6
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
### Use the power of Neo4j graph database in your Angular app
1
+
### Neo4j Bolt driver wrapper for Angular
2
+
3
+
Use Neo4j Bolt driver for JavaScript from your Angular application. A special browser version of the driver supports connecting to Neo4j over WebSockets.
2
4
3
5
#### Installation
4
6
@@ -19,7 +21,7 @@ export class AppModule { }
19
21
```
20
22
21
23
### Usage
22
-
The module includes a service and a design-free component utilizing this service: login form and query form. You are welcome to use this component as a foundation for your custom one.
24
+
The module includes a service and a design-free component using this service: login form and query form. You are welcome to use this component as a foundation for your custom one.
23
25
24
26
The fastest way to test everything:
25
27
@@ -32,9 +34,9 @@ Use the service in your own component:
-`connect( url: string, username: string, password: string, encrypted?: boolean )` - Connect to your Neo4j instance
39
+
-`connect( url: string, username: string, password: string, encrypted?: boolean )` - Connect to your Neo4j instance. Returns a promise with a driver instance.
38
40
```javascript
39
41
40
42
consturl='bolt://localhost:7687';
@@ -55,7 +57,7 @@ Use the service in your own component:
55
57
}
56
58
});
57
59
```
58
-
-`run( query: string, params?: object)` - Run the query with parameters. Returns array of records.
60
+
-`run( query: string, params?: object)` - Run the query with parameters. Returns a promise with array of records.
0 commit comments