Skip to content

Commit

Permalink
Merge branch 'master' into support-development-in-node10
Browse files Browse the repository at this point in the history
  • Loading branch information
pleerock authored Nov 28, 2018
2 parents 16774a1 + 6cd665f commit cd30711
Show file tree
Hide file tree
Showing 70 changed files with 1,617 additions and 180 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ however since API is already quite stable we don't expect too much breaking chan
If we missed a note on some change or you have a questions on migrating from old version,
feel free to ask us and community.

## 0.2.9

* `UpdateEvent` now returns with contains `updatedColumns` and `updatedRelations`

## 0.2.8

* added support for specifying isolation levels in transactions
Expand Down
8 changes: 4 additions & 4 deletions docs/connection-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ This option is useful during debug and development.
Instead, it syncs just by creating indices.

* `migrationsRun` - Indicates if migrations should be auto run on every application launch.
As an alternative, you can use CLI and run migrations:run command.
As an alternative, you can use CLI and run migration:run command.

* `migrationsTableName` - Name of the table in the database which is going to contain information about executed migrations.
By default this table is called "migrations".
Expand Down Expand Up @@ -131,10 +131,10 @@ values to JavaScript Date object and vice versa. This can be `local`, `Z`, or an
(Default: `false`)

* `supportBigNumbers` - When dealing with big numbers (`BIGINT` and `DECIMAL` columns) in the database,
you should enable this option (Default: `false`)
you should enable this option (Default: `true`)

* `bigNumberStrings` - Enabling both `supportBigNumbers` and `bigNumberStrings` forces big numbers
(`BIGINT` and `DECIMAL` columns) to be always returned as JavaScript String objects (Default: `false`).
(`BIGINT` and `DECIMAL` columns) to be always returned as JavaScript String objects (Default: `true`).
Enabling `supportBigNumbers` but leaving `bigNumberStrings` disabled will return big numbers as String
objects only when they cannot be accurately represented with
[JavaScript Number objects](http://ecma262-5.com/ELS5_HTML.htm#Section_8.5)
Expand Down Expand Up @@ -245,7 +245,7 @@ See [SSL options](https://github.com/mysqljs/mysql#ssl-options).

* `pool.autostart` - boolean, should the pool start creating resources etc once the constructor is called, (default `true`).

* `pool.victionRunIntervalMillis` - How often to run eviction checks. Default: `0` (does not run).
* `pool.evictionRunIntervalMillis` - How often to run eviction checks. Default: `0` (does not run).

* `pool.numTestsPerRun` - Number of resources to check each eviction run. Default: `3`.

Expand Down
2 changes: 1 addition & 1 deletion docs/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## What is `Connection`

Your interaction with the database is only possible once you setup a connection.
TypeORM's `Connection` does not setup a database connection as it might seem, instead it setups a connection pool.
TypeORM's `Connection` does not setup a database connection as it might seem, instead it sets up a connection pool.
If you are interested in a real database connection, then refer to `QueryRunner` documentation.
Each instance of `QueryRunner` is a separate isolated database connection.
Connection pool setup is established once `connect` method of the `Connection` is called.
Expand Down
Loading

0 comments on commit cd30711

Please sign in to comment.