62 Commits

Author SHA1 Message Date
Joren Vandeweyer
acc7994ce1
docs: Added enumName column option (#7570)
Added minor documentation for #4824
2021-04-17 14:40:51 +05:00
Tom Rodrigues
9ce3f78ad1
docs: fix typo in entities.md (#7491)
Fixes small grammar issue.
2021-03-27 11:25:14 +05:00
Rohan Talip
82df614c6e
docs: fix typo in entities.md : hustle --> hassle (#6963) 2020-10-22 20:01:34 -04:00
Manuel Nucci
f9caf5d90b
docs: fix decorators in example class using adjacency list (#6932)
Closes: #6527
2020-10-18 21:19:26 -04:00
Thomas Sawkins
43a7386719
feat: implement postgres ltree (#6480)
This new feature implements support for the postgres extension ltree

Closes: #4193
2020-08-02 19:34:01 +05:00
golergka
6a6cc7b90a
docs: note about bigint type being mapped to a string (#5730) 2020-05-16 19:17:54 +03:00
Sam Bender
52a561966e
docs: add @DeleteDateColumn to special columns docs (#6016)
Mostly copied text from the decorator reference: https://github.com/typeorm/typeorm/blob/master/docs/decorator-reference.md#deletedatecolumn
2020-05-16 03:03:35 +03:00
Tim Pap
2bb0e398f9 docs: fix broken link (#4834)
The `decorator-reference` link is broken
see: https://typeorm.io/#/entities
2019-10-13 23:09:37 +05:00
hauau
19e21795d0 feat: add set datatype support for MySQL/MariaDB (#4538)
Set possible values defined using existing enum column option.
Sets are implemented as arrays.

Closes: #2779
2019-09-05 22:38:54 +05:00
Liau Jian Jie
b6d62788ea feat: add multi-dimensional cube support for PostgreSQL (#4378) 2019-07-21 16:10:53 +02:00
Paul Fitzpatrick
afe59ff1ed deprecate readonly in favor of update+insert 2019-05-02 17:20:01 -04:00
Paul Fitzpatrick
ac3f2c135d adds an option to control whether columns are inserted by default
This adds an `insert` option, analogous to the existing `select`
and `readonly` options, for use in the `Column` decorator.  Just
like a column specified with `@Column({select: false})` will not
be selected by default in queries, and a column with
`@Column({readonly: true;})` will not be `UPDATE`d,
a column specified with `@Column({insert: false})`
will not be inserted by default in `INSERT`s.

I believe this fixes #85, and is relevant to (though not the same as)
the work in #2150.
2019-05-02 17:19:27 -04:00
Sammy Teillet
4b8fdf9421 docs: Improve docs for value transformers 2019-04-24 09:43:02 +02:00
Zotov Dmitry
e174ebd40d Merge branch 'master' into crdb
# Conflicts:
#	package-lock.json
#	src/query-builder/DeleteQueryBuilder.ts
#	test/functional/query-builder/delete/query-builder-delete.ts
2019-02-21 12:39:56 +05:00
Ashish Mukarne
94313257d8
Update entities.md 2019-02-16 12:57:52 +05:30
Zotov Dmitry
d051626bc8 updated docs; 2019-02-15 18:20:40 +05:00
Bernd L
040e857644
Grammar stuff
This changes "a entity" to "an entity" because it sounds better.

And it adds "The" right before "Example below".
2019-02-03 01:14:57 +01:00
Vladimir Poluch
ebfbb009e2 fix(postgres,mysql): better support for enum and enum array 2019-01-13 16:08:46 +01:00
Vladimir Poluch
a293885e11 chore(mysql): sync mysql data types with mysql docs 2018-12-22 14:49:47 +01:00
Umed Khudoiberdiev
a9c41ab14d
Merge pull request #2832 from asztal/patch-1
Fix typo in closure table section of entities.md
2018-10-20 16:14:32 +05:00
Simon Friis Vindum
001046f765
Fix example using numeric type with length type parameter 2018-10-15 11:15:49 +02:00
Nico Greenarry
e94c4d566f
docs: Fix separated bulleted list
A linebreak was making a single bulleted list look like two separate lists.
2018-10-03 07:00:03 -07:00
Lee Houghton
d1eeca1a3e
Fix typo in entities.md
This now matches the example in http://typeorm.io/#/tree-entities (although that one doesn't show `@TreeLevelColumn`, despite importing it).
2018-09-22 10:38:19 +01:00
Jen Garcia
ae1d3f8456 Add Expo platform support to documentation 2018-07-04 15:46:19 -04:00
Umed Khudoiberdiev
2e069ce6a8
adding missing links 2018-07-03 23:03:16 +05:00
Seth Fitzsimmons
e1f6aa4795 Doc spatial columns 2018-07-03 10:32:52 -07:00
merong245
c9a5c54c62
Merge branch 'master' into branch-name 2018-06-07 22:04:15 +09:00
LeeJunHyeok
5ea9a85f14 modify typing errors 2018-06-06 22:25:07 +09:00
Shenghan Gao
5f78723199 add mssql rowversion to entities.md
- also format the entites.md
2018-05-23 21:45:02 -07:00
Zotov Dmitry
bf92ac1d88 working on docs; 2018-04-19 15:00:36 +05:00
Zotov Dmitry
fc9526517b working on docs; 2018-04-18 17:26:53 +05:00
Daniel Lang
3a8bb3b3b2 removed websql and systemjs
Support for WebSql and System.js have has been dropped after a
discussion (#1918) as they are cannot be fully supported and aren't used
that much
2018-04-12 17:23:00 +02:00
Zotov Dmitry
da58c58be4 Merge branch 'next' into schema-builder-refactoring
Conflicts:
	package-lock.json
2018-02-20 17:16:28 +05:00
Umed Khudoiberdiev
43f89d49a3 Merge branch 'master' into next
* master:
  updated changelog
  fixed #1504
  removed only test
  Update one-to-one-relations.md
  Handle SQLite in-memory db in ConnectionOptionsReader
  Update eager-and-lazy-relations.md
  Update eager-and-lazy-relations.md
  Update issue-1569.ts
  skipped test #1569 (need to fix in @next)
  Update entities.md
  Update entities.md
  added test for #1581
  Update select-query-builder.md
  create failing test case for issue 1569

# Conflicts:
#	docs/eager-and-lazy-relations.md
2018-02-20 13:41:22 +05:00
Umed Khudoiberdiev
6567da9c2d
Update entities.md 2018-02-16 10:05:59 +05:00
cedrick mandocdoc
b3c4a12d3c Update entities.md 2018-02-15 20:12:40 +08:00
Zotov Dmitry
d6edc142fd Merge branch 'next' into schema-builder-refactoring
Conflicts:
	CHANGELOG.md
	docs/entities.md
	gulpfile.ts
	package-lock.json
	src/connection/Connection.ts
	src/driver/oracle/OracleDriver.ts
	src/driver/postgres/PostgresDriver.ts
	src/metadata-args/MetadataArgsStorage.ts
	src/metadata/EntityMetadata.ts
	src/persistence/SubjectExecutor.ts
	src/query-builder/UpdateQueryBuilder.ts
	test/functional/sqljs/auto-save.ts
2018-02-08 17:53:06 +05:00
Zotov Dmitry
b8c782e8c3 fixing falling tests; 2018-02-08 17:38:56 +05:00
Umed Khudoiberdiev
8ef1695311 Merge branch 'master' into next
* master: (57 commits)
  update typescript to 2.7
  removing repeat types at postgres and sqlite
  Prevent transforms breaking on datetime types (closes #1140)
  fixing repeating column types for mysql / mariadb
  loose -> lose
  loose -> loss
  loose -> lose
  Updated the hidden column to reflect the query
  version bump
  Fix typo in connection-options.md
  Fixed typo in mongodb.md
  Update support.md
  Update support.md
  Update roadmap.md
  Update decorator-reference.md
  Update faq.md
  Update sequelize-migration.md
  Update example-with-express.md
  Update active-record-data-mapper.md
  Update using-cli.md
  ...

# Conflicts:
#	CHANGELOG.md
#	README.md
#	docs/relations.md
#	docs/roadmap.md
#	docs/tree-entities.md
#	package-lock.json
#	package.json
#	src/query-builder/UpdateQueryBuilder.ts
#	test/functional/entity-metadata-validator/basic/entity-metadata-validator.ts
#	test/functional/sqljs/auto-save.ts
2018-02-06 12:17:33 +05:00
Pablo Carrera Estrada
35dd65f0d7
removing repeat types at postgres and sqlite
repeat types
2018-02-05 10:25:23 -05:00
Pablo Carrera Estrada
956a5fd36f
fixing repeating column types for mysql / mariadb
removing repeated types of `int`, `tinyint`, `smallint`, `mediumint`, `bigint` at  column types for mysql / mariadb
2018-01-31 23:46:07 -05:00
Crutchcorn
d33e4c99ec Update documentation for select, NULL, and subscribers 2018-01-25 19:02:26 -08:00
Umed Khudoiberdiev
82b1410f0e
Merge pull request #1488 from idchlife/master
simple-json column type
2018-01-23 15:44:03 +05:00
idchlife
2bc0e4fa33 changelog + entities.md header link 2018-01-23 12:16:15 +03:00
idchlife
e3536ae814 simple-json column type 2018-01-22 23:34:49 +03:00
Jared Pleva
4b15eae842
Removes duplicate types in Column types for mssql 2018-01-19 14:50:08 -05:00
Umed Khudoiberdiev
42d6c88031 added basic support for tree tables - closure tables, nested set, materialized path 2017-12-17 22:01:27 +05:00
Umed Khudoiberdiev
9fa52b1137 Merge branch 'master' into next
* master: (26 commits)
  version bump, updated changelog
  fixes #1091, #968, #1311
  fixes #1326
  enum type currently not supported in postgres
  Update tree-entities.md
  #1147 unit test: FindOptions should be able to accept custom where condition
  #1147 Ignore custom sql where clause in findOneOptions for Mongo driver
  Issues #1147
  updated testing logic
  change debug namespace
  typos
  typo
  code style
  fix
  update docs
  PlatformTools.load debug
  changelog
  code style
  remove constructor
  add semicolon
  ...

# Conflicts:
#	CHANGELOG.md
#	package-lock.json
#	package.json
#	src/metadata/EntityMetadata.ts
#	src/metadata/EntityMetadataUtils.ts
#	src/metadata/RelationMetadata.ts
#	src/query-builder/QueryBuilder.ts
#	src/query-builder/SelectQueryBuilder.ts
#	test/utils/test-utils.ts
2017-12-12 18:07:22 +05:00
Jakob Lorz
85c643aa3f
enum type currently not supported in postgres
As issue #1045 points out, typeorm does not support `enum` on postgres type, yet it is referenced in the docs as supported.
2017-12-10 11:47:04 +01:00
cybermerlin
667a2900be #1289 fix documentation and Entity, EntityOptions parameters 2017-12-04 15:37:16 +03:00