Skip to content

Commit

Permalink
Added documentation on database connection...
Browse files Browse the repository at this point in the history
Updated documentation to reflect recent changes that allow one to specify the database connection that should be used...where to find the `dag_edges` table.
  • Loading branch information
telkins authored Oct 30, 2020
1 parent 5f19189 commit 23ad0f9
Showing 1 changed file with 28 additions and 14 deletions.
42 changes: 28 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,36 @@ This is the contents of the published config file:
```php
return [

/*
|--------------------------------------------------------------------------
| Max Hops
|--------------------------------------------------------------------------
|
| This value represents the maximum number of hops that are allowed where
| hops "[i]ndicates how many vertex hops are necessary for the path; it is
| zero for direct edges".
|
| The more hops that are allowed (and used), then the more DAG edges will
| be created. This will have an increasing impact on performance, space,
| and memory. Whether or not it's negligible, noticeable, or impactful
| depends on a variety of factors.
*/
/**
*-------------------------------------------------------------------------
* Max Hops
*-------------------------------------------------------------------------
*
* This value represents the maximum number of hops that are allowed where
* hops "[i]ndicates how many vertex hops are necessary for the path; it is
* zero for direct edges".
*
* The more hops that are allowed (and used), then the more DAG edges will
* be created. This will have an increasing impact on performance, space,
* and memory. Whether or not it's negligible, noticeable, or impactful
* depends on a variety of factors.
*/

'max_hops' => 5,

/**
*-------------------------------------------------------------------------
* Default Database Connection Name
*-------------------------------------------------------------------------
*
* This is the name of the database connection where the dag_edges table
* can be found.
*
* Set to `null` to use the default connection.
*/

'default_database_connection_name' => null,

];
```

Expand Down

0 comments on commit 23ad0f9

Please sign in to comment.