1
0
mirror of synced 2024-12-05 03:06:05 +03:00
Commit Graph

309 Commits

Author SHA1 Message Date
Marco Pivetta
b81209c278 #470 DDC-54 DDC-3005 - documenting postLoad and Doctrine\ORM\AbstractQuery#iterate() partial incompatibility 2015-01-13 01:43:12 +01:00
Strate
96184b9541 DDC-3005.Removed warning in documentation 2015-01-12 22:34:24 +01:00
Andrey Knupp Vital
a701c9d046 Removing warning about non-availability of no-prefix in XML mappings 2015-01-08 10:11:22 -02:00
Andrey Knupp Vital
74a2cfc83b Also adding docs for the new attribute use-column-prefix 2015-01-08 09:37:41 -02:00
Annika Backstrom
27fe4d78b7 Minor docs fix: missing word 'do' 2014-12-30 20:12:11 -05:00
Marco Pivetta
b9506ac64a Merge pull request #1195 from decoursin/patch-1
Correction Events.rs - Entity Listeners Resolver
2014-12-04 14:03:09 +01:00
Marcos Sánchez
8e26705693 Update working-with-objects.rst
Fix syntax error in constructor.
2014-12-01 12:50:11 -03:00
Tomas Kormanak
27e671378b minor typo 2014-11-28 08:40:00 +00:00
Bilge
f9b4df70ff Minor grammar fix. 2014-11-27 18:07:10 +00:00
Nick DeCoursin
82c5547931 Correction Events.rs - Entity Listeners Resolver
Configuring the Entity Listener Resolver can only be done before Entity Manager is initialized as described here: https://github.com/doctrine/doctrine2/pull/1193
2014-11-26 19:29:58 -05:00
Javier Eguiluz
7e64d606d2 Fixed a very minor typo 2014-11-25 09:41:13 +01:00
Ala Eddine Khefifi
44304c30b3 Update tools.rst 2014-11-12 09:55:51 +01:00
Marco Pivetta
76e1a469ef Merge pull request #1027 from PowerKiKi/feature-partial-indexes
Support for Partial Indexes for PostgreSql and Sqlite
2014-11-05 13:19:29 +01:00
Guilherme Blanco
3924ede3ad Merge pull request #1128 from Erikvv/patch-1
Add QueryBuilder::addSelect()
2014-10-21 21:35:26 -04:00
Marco Pivetta
9bf8f6ed4c DDC-3261 - fixed link to DBAL documentation (should always reference latest) 2014-10-19 19:18:11 +02:00
Dawid Królak
143f87960e Update xml-mapping.rst
Fixed closing entity tag.
2014-10-17 00:11:56 +02:00
Jeremy Postlethwaite
abe97bf0df Fixing error with from() parameters in example
The from method requires $from and the $alias to be separate parameters.

    public function from($from, $alias, $indexBy = null);

The examples show: from('User u')
2014-10-13 20:37:19 -07:00
Marco Pivetta
1e6ca40ffa Merge pull request #1157 from gennadiylitvinyuk/patch-1
Fixing calls of schema-update tools
2014-10-13 02:32:42 +02:00
Jose M. Alonso M
82887d0361 Update QueryBuilder reference documentation.
- Updated the signature of methods "from", "innerJoin" and "leftJoin"
  since it does not match the actual implementation.

- Added reference to the "join" method.
2014-10-12 20:31:33 +02:00
Gennadiy Litvinyuk
83cd44697d Fixing calls of schema-update tools
composer-generated binaries should be called without php interpreter.

Added reminder to update schema.
2014-10-12 17:50:47 +02:00
Marco Pivetta
0bff6aadbc Merge pull request #1147 from naitsirch/master
Extended the docs for mapping attributes precision and scale
2014-10-03 00:50:00 +02:00
naitsirch
547a902bd3 Fixed small typo in documentation about extra lazy associations #DWEB-118 2014-09-26 19:49:12 +02:00
Christian Stoller
d93f648230 Extended the docs for mapping attributes precision and scale 2014-09-25 09:38:34 +02:00
Marco Pivetta
15a00ea807 Clearing cache by --id, --regex, --prefix and --suffix is not supported anymore. 2014-09-14 17:30:47 +02:00
Mauro Pinto
857fed0310 Make embeddable doc more succinct, fix xml 2014-09-03 11:13:28 +01:00
Erik van Velzen
ba50f978a5 Add QueryBuilder::addSelect() 2014-09-02 13:52:52 +02:00
Mauro Pinto
3bd916f763 Document embeddables column prefixing 2014-09-01 12:48:10 +01:00
Ka
2120d41029 add a link to said chapter 2014-08-29 08:47:28 +02:00
Ka
398688ab38 Update improving-performance.rst 2014-08-29 08:42:14 +02:00
Marco Pivetta
48a86511cb DDC-3276 - #1122 - updating EBNF in documentation to reflect new syntax support 2014-08-27 02:17:08 +02:00
Thomas Tourlourat
613119599f Fix wrong variable name 2014-08-21 10:42:22 +02:00
Logan Bailey
9b7318ab4c Changed table name to be more appropriate.
This change assumes that the Article object references the articles tables, not the user table.
2014-08-14 17:07:05 -07:00
Marco Pivetta
723529ffff Merge pull request #1069 from anho/reuse-console-app
added method to be able to reuse the console application
2014-08-04 16:17:11 +02:00
Simon Harris
7c2ab7fff8 Changes for grammar and clarity 2014-07-31 16:45:33 +01:00
Marco Pivetta
0650bb954f Merge pull request #1094 from thekeyboardbum/master
Fix bulk insert code example
2014-07-31 00:06:05 +02:00
Justin
2d23c95c3f Fix bulk insert code example
Previous code example did not flush all entities when entity count was not a multiple of batch count.
2014-07-30 15:00:35 -07:00
Andreas Hörnicke
a76506c3fd amended documentation 2014-07-24 09:38:08 +02:00
Adrien Crivelli
bb5345b330 Adapt formatting to pre-existing content 2014-07-22 10:44:45 +09:00
Adrien Crivelli
eeb7ff4a6d Support for Partial Indexes for PostgreSql and Sqlite
Support for Partial Indexes was available in Doctrine 1 following
http://www.doctrine-project.org/jira/browse/DC-82. This commit
reintroduce support for Doctrine 2. We use the same syntax with an
optionnal "where" attribute for Index and UniqueConstraint.
2014-07-22 10:32:30 +09:00
hartca
0ab2672872 Update advanced-field-value-conversion-using-custom-mapping-types.rst 2014-07-18 00:10:47 +01:00
Marco Pivetta
205a5de4e5 Merge pull request #1083 from deeky666/DDC-3073
[DDC-3073] Add documentation about how to map column options
2014-07-17 11:56:40 +02:00
Steve Müller
040c445297 add documentation about how to map column options 2014-07-17 11:28:43 +02:00
Marco Pivetta
5361676bba Merge pull request #1038 from Greenflex/doc/dql-hidden-keyword
Add documentation for the `HIDDEN` keyword in DQL
2014-07-14 11:18:30 +02:00
Renan Gonçalves
c9901c9017 Removing Value Objects from limitations as per #835 2014-07-07 20:17:56 +02:00
Eric GELOEN
20f96cc9d3 [DDC-3179] Document postRemove limitation 2014-06-26 18:09:32 +02:00
jkavalik
d5dd21dd79 Fix typo in documentation 2014-06-24 08:00:45 +02:00
Richard Shank
9a5fc49690 fix spacing for yaml example 2014-06-16 08:20:14 -07:00
David Prévot
3ff92f587f Drop Unicode character
It broke the LaTeX build.
2014-06-14 23:14:42 -04:00
Simon Harris
7dac285de6 A few minor changes for English and clarity 2014-06-03 16:46:37 +01:00
Simon Harris
8b1f5d71e1 Fix minor grammatical error 2014-06-03 16:26:54 +01:00
Ronan Guilloux
526c757901 Update query-builder.rst 2014-05-29 16:36:22 +02:00
Ronan Guilloux
495fe6002d Update query-builder.rst
->andWhere() can be used directly, without any ->where() before, and we can just always use ->andWhere(). This is why ->hasWhere() is useless, cf. #1043.
2014-05-29 16:29:49 +02:00
Michaël Gallego
3d32bc47a7 Fix second level cache doc 2014-05-28 13:07:01 +02:00
Richard Shank
edaeaf48a8 Add yml example to single table inheritance 2014-05-27 07:47:07 -07:00
Michaël Perrin
b400ad52cc Add documentation for the HIDDEN keyword in DQL 2014-05-27 11:43:15 +02:00
hashnz
43c4c80388 Update caching.rst
Remove documentation referencing delete by regex/prefix.
2014-05-20 08:53:41 +12:00
Matthieu Napoli
b16423b26b Documentation for #991 2014-05-16 09:32:52 +02:00
Jose M. Alonso M
204b7fe854 Removed duplicate entry in documentation TOC. 2014-05-01 13:02:29 +02:00
Evan Coury
d2c2067aaf Add ExpressionBuilder::contains() to docs 2014-04-23 06:54:03 -07:00
Michaël Gallego
9b847f1a04 Update second-level-cache.rst 2014-04-20 23:52:06 +02:00
Guilherme Blanco
6a8ee87268 Made DQL and EBNF in sync. 2014-04-20 20:27:57 +00:00
Guilherme Blanco
318f5032db Missing documentation update. 2014-04-17 19:31:06 +00:00
Guilherme Blanco
841bdd5ca5 DDC-2827 Added support for AggregateExpressions in NullComparisonExpression. 2014-04-17 04:39:26 +00:00
Guilherme Blanco
ceada41b83 DDC-2934 Added support for function declarations in order by. 2014-04-17 04:15:35 +00:00
Per Persson
38911076ad Single quotes can't nest
I decided to use "... '...' ...", but perhaps you prefer '... \'...\' ...'?
2014-04-15 13:56:18 +02:00
Benjamin Morel
b3ec87ab09 Fixed typos 2014-03-28 12:54:49 +00:00
Nechaev Yaroslav
46b16a5e10 Update dql-doctrine-query-language.rst 2014-03-27 15:49:04 +03:00
Nechaev Yaroslav
b145ebf955 Typo in documentation
This method from AbstractQuery accepts constants from ClassMetadata rather than string
2014-03-27 15:45:52 +03:00
Logan Bailey
263d9f30f2 Fixes typo in dql-doctrine-query-language.rst
Changes "If you a query" to "If you have a query"
2014-03-25 11:10:43 -07:00
Benjamin Eberlei
5335b2a2ad Merge pull request #955 from goatherd/patch-1
iteration risk note
2014-03-23 15:35:53 +01:00
Benjamin Eberlei
ecc2857e2d [DDC-3033] Clarify restrictions in events. 2014-03-23 12:37:56 +01:00
Marco Pivetta
9b4ae6d556 Removing note on m2m association filtering as of #885 2014-03-16 17:41:19 +01:00
Marco Pivetta
fea200043e Adding note about DDC-3020 - external XML entities may or may not work 2014-03-11 11:30:08 +01:00
Klein Thomas
832127a0d6 Added info about automatic discriminator map
see https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php#L257
2014-03-11 09:54:46 +01:00
Marco Pivetta
8d4821b4dc Merge pull request #972 from hallabro/patch-1
Capitalize @GeneratedValue (annotations-reference.rst)
2014-03-05 11:03:30 +01:00
Robin Hallabro
a395921fdc Capitalize @GeneratedValue (annotations-reference.rst) 2014-03-05 10:57:31 +01:00
Abdellatif AitBoudad
5f429a5418 [Doc] added note Criteria limits. 2014-03-04 21:36:07 +00:00
Fabio B. Silva
8c2aef3f14 [DDC-2943] Disable slc for pagination queries 2014-03-01 01:15:09 -05:00
Benjamin Eberlei
f5897d4b0b Merge branch 'master' of github.com:doctrine/doctrine2 2014-02-21 16:14:57 +01:00
Benjamin Eberlei
51e5db86b7 Add SECURITY.md and a chapter on security assumptions in Doctrine ORM. 2014-02-21 16:12:32 +01:00
Marco Pivetta
dfe7a68053 Removing notice about public properties support (included since 2.4)
see doctrine/doctrine2#406
2014-02-19 22:02:07 +01:00
Maik Penz
0677423d14 iteration risk note
> instead of loading the whole result into memory at once
is not the full truth.

There is a certain risk of processes getting killed due to memory allocation with large iteration. This is caused by result buffering of the client not being visible to PHP and thus not from 'within' the process.

It is not certain that this occurs with all database clients but seems rather likely to at this point.

This is only a proposal for discussion as I am not certain how to best add the information or if to add it at all (was it obvious before?). Personally I got confused by the existing description and didn't notice the memory implication until further investigation using `top` reported the process to run at 3+GB memory while PHP reported 400M real peak usage.
2014-02-17 10:33:10 +01:00
Asmir Mustafic
e27d963784 Update extra-lazy-associations.rst 2014-02-12 23:42:52 +01:00
Asmir Mustafic
1f0d4197a9 Update doc with latest news about extra lazy assoc 2014-02-12 23:42:13 +01:00
Shaun
57ac3bd4be Add DB-level onDelete CASCADE example
This adds `onDelete: CASCADE` to the `address` 1-1 relationship just to show how you would map a db-level cascade.
2014-02-11 17:23:19 -05:00
Wouter J
24feae84cd Fixed typo & horizontal scrolling 2014-02-08 20:19:54 +01:00
Benjamin Eberlei
35511db4da Merge pull request #898 from USvER/patch-1
Added note to STI
2014-02-08 16:34:30 +01:00
Benjamin Eberlei
8a0901c92b Merge pull request #835 from schmittjoh/ValueObjects
Value objects (Based on #634)
2014-02-08 16:24:47 +01:00
HermanPeeren
128e83909b Update working-with-associations.rst
removed some spaces that had come into it while editing last commit
2014-02-06 16:09:27 +01:00
HermanPeeren
9c19d1e5c4 Update working-with-associations.rst
There are 2 many-to-many associations between the users and comments. Both use another join-table. The join-tables user_favorite_comments and user_read_comments must be specified. Otherwise the default "user_comment" is taken twice. See https://groups.google.com/forum/#!topic/doctrine-user/Kti36_n6490 and https://groups.google.com/forum/#!topic/doctrine-user/TYwafhgYiSU
2014-02-06 15:59:56 +01:00
Benjamin Eberlei
9653213914 Add warning about non scalar use in Criteria. 2014-02-04 00:02:09 +01:00
Matthieu Napoli
30c3eb0465 Improved DQL's "new" operator documentation 2014-01-21 17:34:54 +01:00
Matthieu Napoli
330c66559c Improved DQL's "new" operator documentation
I had to dig through the pull requests and issues to figure that out, so I believe it's best documented explicitly.
2014-01-21 10:54:13 +01:00
Wouter J
996499e6fc Added exception class names 2014-01-18 11:09:22 +01:00
goatherd
a485e791bb fix foreach coding style 2014-01-14 23:44:38 +01:00
Marco Pivetta
771da768ac Merge pull request #906 from KevinBrogan/master
removed erroneous tip
2014-01-12 08:10:20 -08:00
Benjamin Eberlei
12556e2dfe Add MyISAM limitation 2014-01-12 11:33:37 +01:00
Kevin Brogan
5989c0cb54 removed erroneous tip
I'm working through the tutorial myself and got to this point.

Don’t forget to add a require_once call for this class to the bootstrap.php

This advice is wrong. The class is located in the src directory and so is autoloaded when required. No require statement is necessary.
2014-01-10 20:28:41 -08:00
USvER
b23d0bec33 Added note to STI
http://www.doctrine-project.org/jira/browse/DDC-2886
2014-01-06 00:44:51 +02:00
Johannes Schmitt
4f585a3d63 Merge branch 'master' of github.com:doctrine/doctrine2 into ValueObjects
Conflicts:
	UPGRADE.md
	lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php
2014-01-04 17:52:32 +01:00