typeorm-plus
Advanced tools
Changelog
0.0.8
clear
method to Repository
and EntityManager
which allows to truncate entity tableEntityRepository
in typeorm/index
Changelog
0.0.7
@Transaction
decoratortypeorm/index
for naming strategiesEntity
(Table
=> Entity
, AbstractTable
=> AbstractEntity
,
ClassTableChild
=> ClassEntityChild
, ClosureTable
=> ClosureEntity
, EmbeddableTable
=> EmbeddableEntity
,
SingleTableChild
=> SingleEntityChild
). This change is required because upcoming versions of orm will work
not only with tables, but also with documents and other database-specific "tables".
Previous decorator names are deprecated and will be removed in the future.@ManyToMany
, @OneToMany
decorators. Also cascade remove is not possible
from two sides of @OneToOne
relationship now.schemaName
support for postgres database #152 (thanks @mingyang91)QueryBuilder
(thanks @netnexus)Changelog
0.0.6
JSONB
support for Postgres in #126 (thanks @CreepGin@CreepGin)TIME
column in #134 (thanks @cserron)EntityMetadata
which can be used within one transactionChangelog
0.0.5
getScalarMany
to getRawMany
in QueryBuilder
getScalarOne
to getRawOne
in QueryBuilder
Changelog
0.0.4
order by
is used with limit
decorators-shim.d.ts
exist and does not allow to import decorators (treats like they exist in global)Changelog
0.0.3
{ nullable: true }
in relationsundefined
properties are skipped in the persistence operation, as well as undefined
relations.QueryBuilder
:
getSingleResult()
renamed to getOne()
getResults()
renamed to getMany()
getResultsAndCount()
renamed to getManyAndCount()
ON
addParameters
or setParameter
instead.setParameters
is now works just like addParameters
(because previous behaviour confused users),
addParameters
now is deprecatedgetOne
returns Promise<Entity|undefined>
Repository
and EntityManager
:
findOne
and .findOneByIdnow return
Promise<Entity|undefined>instead of
Promise<Entity>`ES5
instead of ES6
- this allows to run it on older versions of node.jsChangelog
0.0.2
Changelog
0.2.15 (2019-03-14)
connection.dropDatabase
method (#1414)() =>
syntax) in parameters to prevent security considerationsuuidExtension
option to Postgres connection options, which allows TypeORM to use the newer pgcrypto
extension to generate UUIDsChangelog
0.2.14 (2019-02-25)
package.json
(3583)useLocalForage
option to Sql.js connection options, which enables asynchronous load and save operations of the datatbase from the indexedDB (#3554)