Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/nextras/orm
Orm with clean object design, smart relationship loading and powerful collections.
https://github.com/nextras/orm
model: renamed clearIdentityMpaAndCaches() to clear() (BC break!)
fe4a437dfe0eee65ee6be589f842fb460822c573 authored over 7 years ago
fe4a437dfe0eee65ee6be589f842fb460822c573 authored over 7 years ago
docs: renamed model to model definition chapter
94f458bb10ca77eeb99f304b1bd4c04b33ead60c authored over 7 years ago
94f458bb10ca77eeb99f304b1bd4c04b33ead60c authored over 7 years ago
docs: added Model persist, remove, refreshAll docs
db3244012a4459fd3f31172118fc69dc43fb0268 authored over 7 years ago
db3244012a4459fd3f31172118fc69dc43fb0268 authored over 7 years ago
model: added refreshAll() into IModel interface
196b03cf3d38fc4901c545ea084d524deb2902e7 authored over 7 years ago
196b03cf3d38fc4901c545ea084d524deb2902e7 authored over 7 years ago
relationships: trackEntity moved into interface
80da44bcc9417b2fe6497e7687148e92b7a3325e authored over 7 years ago
80da44bcc9417b2fe6497e7687148e92b7a3325e authored over 7 years ago
entity: refresh doesn't call setter
This commit also prepares refresh method to be compatible with Embeddables
385ab51255203d63e9b20eedb5be28d604711ff4 authored over 7 years ago
add refreshAll method [BC break - interface changed]
1056ac2943800a812c151e423920da21b16e4451 authored over 7 years ago
1056ac2943800a812c151e423920da21b16e4451 authored over 7 years ago
typos: removed unused use statements
05bd52eaf466639d9e8230e5f1c775d2511c451b authored over 7 years ago
05bd52eaf466639d9e8230e5f1c775d2511c451b authored over 7 years ago
mapper: DbalMapper does not have default implementation for IPersistAutoupdateMapper (BC break!)
8b3208378a2fe41397e8875e6aef259116648c15 authored almost 8 years ago
8b3208378a2fe41397e8875e6aef259116648c15 authored almost 8 years ago
entity iterator: check if property exists in getPreloadedValues (may not exists when using STI)
8b058aa7ee53e1d65d1b3305a11d102aeec80825 authored almost 8 years ago
8b058aa7ee53e1d65d1b3305a11d102aeec80825 authored almost 8 years ago
Merge pull request #222 from matej21/refactoring
[WIP] Refactoring
540c2610628cd579d60bccff4ce160c453a14566 authored almost 8 years ago
add DbalMapperCoordinator which manages all dbal mappers transactions
de3f5fc3ff1f3da9bd8d0828238d20ee7f8e8d0f authored almost 8 years ago
de3f5fc3ff1f3da9bd8d0828238d20ee7f8e8d0f authored almost 8 years ago
dbal storage reflection: remove mapper dependency
b74670ce5dc4b75c75ddd60cd8b3c8b35c9bfcd3 authored almost 8 years ago
b74670ce5dc4b75c75ddd60cd8b3c8b35c9bfcd3 authored almost 8 years ago
prefer IRepository::getEntityMetadata
ac62fa935c8c66e85e18b5d2395d678d554543e2 authored almost 8 years ago
ac62fa935c8c66e85e18b5d2395d678d554543e2 authored almost 8 years ago
array collection: remove model dependency
f7ce379254838bce5e94ca1771356aded4e67c44 authored almost 8 years ago
f7ce379254838bce5e94ca1771356aded4e67c44 authored almost 8 years ago
dbal mapper: add hydrateEntity
4556733256b8522e22ee0a89717870c1a79823df authored almost 8 years ago
4556733256b8522e22ee0a89717870c1a79823df authored almost 8 years ago
IMapper: remove getTableName
d928e33e557fa4a041520a0fe5dde923a7e90f6e authored almost 8 years ago
d928e33e557fa4a041520a0fe5dde923a7e90f6e authored almost 8 years ago
dbal relationship mapper: remove repository dependency
166d43de54f2633db129174bf229b93095b8fc6c authored almost 8 years ago
166d43de54f2633db129174bf229b93095b8fc6c authored almost 8 years ago
ArrayCollectionHelper: remove unused field
16c532a96e6773c9689fd7dc48ffc3a1a68a08a3 authored almost 8 years ago
16c532a96e6773c9689fd7dc48ffc3a1a68a08a3 authored almost 8 years ago
PropertyRelationshipMetadata: add entityMetada field with metadata object
b883e5866c5c077f3b696a7b364131b323ae85f8 authored almost 8 years ago
b883e5866c5c077f3b696a7b364131b323ae85f8 authored almost 8 years ago
IMapper: remove rollback
c2ece1fe77c36dbb02e5e6ad6c5e8982a2a10692 authored almost 8 years ago
c2ece1fe77c36dbb02e5e6ad6c5e8982a2a10692 authored almost 8 years ago
IMapper: remove toCollection
4d6ad154f6181b8ce5882c69837743e2eb6fff5e authored almost 8 years ago
4d6ad154f6181b8ce5882c69837743e2eb6fff5e authored almost 8 years ago
Repository::__call - do not call toCollection [BC break!]
a7a2744b7a769f472297aa6319d55aceeb0cce81 authored almost 8 years ago
a7a2744b7a769f472297aa6319d55aceeb0cce81 authored almost 8 years ago
QueryBuilderHelper: remove metadata storage
44367e8cb77585644976baff4766669f1d3f56a4 authored almost 8 years ago
44367e8cb77585644976baff4766669f1d3f56a4 authored almost 8 years ago
identity map: remove unused dependency provider
5cad5e9ee8ff7d5f0f732a798d8cf98402e9b103 authored almost 8 years ago
5cad5e9ee8ff7d5f0f732a798d8cf98402e9b103 authored almost 8 years ago
IRepository::getEntityMetadata - support entityClass parameter
de081048b9d4c10d6e51f67292ffeaf18aadaaba authored almost 8 years ago
de081048b9d4c10d6e51f67292ffeaf18aadaaba authored almost 8 years ago
ArrayCollectionHelper: require IRepository, not IMapper
768399ca140ba2f5578ec6027541d739cdfe9313 authored almost 8 years ago
768399ca140ba2f5578ec6027541d739cdfe9313 authored almost 8 years ago
IMapper: remove getStorageReflection
8686e618554c0612be2840e13003236068b33ffa authored almost 8 years ago
8686e618554c0612be2840e13003236068b33ffa authored almost 8 years ago
RelationshipMapperManyHasMany: use DbalMapperCoordinator
2128226ca3615f0c01d0d0f9e829ed951d4cbef8 authored almost 8 years ago
2128226ca3615f0c01d0d0f9e829ed951d4cbef8 authored almost 8 years ago
mapper is responsible for converting data from storage format to entity format [BC break]
aec4e2a0a6f6cea73a4e11ed01fe592024f9e9b7 authored almost 8 years ago
aec4e2a0a6f6cea73a4e11ed01fe592024f9e9b7 authored almost 8 years ago
IdentityMap: remove unused storagePrimaryKey property
731c8cd799dfe2ecd61fce508d5a55474ba43456 authored almost 8 years ago
731c8cd799dfe2ecd61fce508d5a55474ba43456 authored almost 8 years ago
Merge pull request #220 from matej21/test/datetimeimmutable_sort
add test for collection sorting by datetimeimmutable
0db1f2517c811bab9ce0dc1f45343dbdf29aee19 authored almost 8 years ago
add test for collection sorting by datetimeimmutable
dc8b821bb12d3616fc6be7d2d5d439286bdf76af authored almost 8 years ago
dc8b821bb12d3616fc6be7d2d5d439286bdf76af authored almost 8 years ago
added missing declare(strict_types = 1)
fc43c6712f6c5558744d25b93f36f0fec91e5233 authored almost 8 years ago
fc43c6712f6c5558744d25b93f36f0fec91e5233 authored almost 8 years ago
Merge branch 'phpstan'
ca1b527c51a0d9ec678d2c11bf95d9fa977a1c45 authored almost 8 years ago
ca1b527c51a0d9ec678d2c11bf95d9fa977a1c45 authored almost 8 years ago
phpstan: fixed running in travis
18edbb779189e0f27d8d20af4cdfc8575b089060 authored almost 8 years ago
18edbb779189e0f27d8d20af4cdfc8575b089060 authored almost 8 years ago
phpstan: fixed level 5 errors
b7096d0351a7f061fb893f608262869460e5cab3 authored almost 8 years ago
b7096d0351a7f061fb893f608262869460e5cab3 authored almost 8 years ago
phpstan: fixed level 4 errors
ff390f401248d649545bf2ada251196d552ed412 authored almost 8 years ago
ff390f401248d649545bf2ada251196d552ed412 authored almost 8 years ago
phpstan: fixed level 3 errors
28e2797ac0815bc8091c33c5e1f850f374bcd918 authored almost 8 years ago
28e2797ac0815bc8091c33c5e1f850f374bcd918 authored almost 8 years ago
phpstan: fixed level 2 errors
efb8064da2ce6a2d3580194e9e729d7b5171e572 authored almost 8 years ago
efb8064da2ce6a2d3580194e9e729d7b5171e572 authored almost 8 years ago
phpstan: fixed level 0 errors
9117097a39719075019260d15050acf27e06ea3d authored almost 8 years ago
9117097a39719075019260d15050acf27e06ea3d authored almost 8 years ago
phpstan: added as dev-dependency & into travis build
4175abdf63363c3de1bcf4f0b07587282a3e9fcc authored almost 8 years ago
4175abdf63363c3de1bcf4f0b07587282a3e9fcc authored almost 8 years ago
docs/repository: updated persist() & remove() subchapters
40105ba4dbb0ee4cf27997543f9f49bac14d2b5b authored almost 8 years ago
40105ba4dbb0ee4cf27997543f9f49bac14d2b5b authored almost 8 years ago
updated coding-style of strict_types switch
78d297637444df21d75359aa03832cde92589ab3 authored almost 8 years ago
78d297637444df21d75359aa03832cde92589ab3 authored almost 8 years ago
Merge branch 'derived_relationship_tracking'
e0a8437b1771c7a0b8a79f75bb008b76ee3530fe authored almost 8 years ago
e0a8437b1771c7a0b8a79f75bb008b76ee3530fe authored almost 8 years ago
relationships: track fetched entities from derived collection [closes #212]
a0c138b6b74c4efccff86a80a08acd581f58c015 authored almost 8 years ago
a0c138b6b74c4efccff86a80a08acd581f58c015 authored almost 8 years ago
tests/relationships: better query comments
652637fbcc21f6340158383367c35f0dd3cdd429 authored almost 8 years ago
652637fbcc21f6340158383367c35f0dd3cdd429 authored almost 8 years ago
Merge branch 'many_has_many_fixes'
7d2ac134ff02cdc8121cf932afb065e4527f5788 authored almost 8 years ago
7d2ac134ff02cdc8121cf932afb065e4527f5788 authored almost 8 years ago
relationship/manyHasMany: fixed tracking of already fetched entities
96af944e9f9d084f4518a3466702974494ff28de authored almost 8 years ago
96af944e9f9d084f4518a3466702974494ff28de authored almost 8 years ago
relationships: typos
625da4ecd0959840c5b9582723ebb60759e990b5 authored almost 8 years ago
625da4ecd0959840c5b9582723ebb60759e990b5 authored almost 8 years ago
collection: added EntityFetch event
fc21232a3e3f5109fa0fa31e43459d466478c8c2 authored almost 8 years ago
fc21232a3e3f5109fa0fa31e43459d466478c8c2 authored almost 8 years ago
mapper: removed collection cache infrastructure
3276ee568d5562baf6357978815e918eaf25c60b authored almost 8 years ago
3276ee568d5562baf6357978815e918eaf25c60b authored almost 8 years ago
relationships: removed collection caching
9079b2911eb4c5e9f748f1850ad27c6592a8e1fe authored almost 8 years ago
9079b2911eb4c5e9f748f1850ad27c6592a8e1fe authored almost 8 years ago
relationships: added ManyHasMany tests
10d81ae8877c216420b92816c0b61ad678ae7c80 authored almost 8 years ago
10d81ae8877c216420b92816c0b61ad678ae7c80 authored almost 8 years ago
Merge branch 'relationship-updates'
20bad03f0c42d55f783ecf5da1ec471d5e5cccaf authored almost 8 years ago
20bad03f0c42d55f783ecf5da1ec471d5e5cccaf authored almost 8 years ago
relationship/dbal/manyHasMany: refactored - method inlined
27d5346dce8008e979952295ae471a8b4ec8eeec authored almost 8 years ago
27d5346dce8008e979952295ae471a8b4ec8eeec authored almost 8 years ago
relationship: refactored tracked entities, added cache flushing after persist
6e4cba6e5c3fbbf78b36ac62311264911d405b09 authored almost 8 years ago
6e4cba6e5c3fbbf78b36ac62311264911d405b09 authored almost 8 years ago
relationship: typos
53dd5d0e48ea7344710a3d7da5201ff92e7a9c71 authored almost 8 years ago
53dd5d0e48ea7344710a3d7da5201ff92e7a9c71 authored almost 8 years ago
Merge branch 'has-many-set'
11a98c307c62f488c0e9d58a88fa0eec040e6042 authored almost 8 years ago
11a98c307c62f488c0e9d58a88fa0eec040e6042 authored almost 8 years ago
relationship: fixed ManyHasMany::set() method which may work with wrong data
e5e503fb599e67af0d3e0d61bfe4b6d16076c8cc authored almost 8 years ago
e5e503fb599e67af0d3e0d61bfe4b6d16076c8cc authored almost 8 years ago
collection: removed getEntityIterator & getEntityCount methods (BC break!)
f3a589a4b7e640b94079a5d60dc82ed0920c01fc authored almost 8 years ago
f3a589a4b7e640b94079a5d60dc82ed0920c01fc authored almost 8 years ago
collection: split setRelationshipsMapping, setRelationshipParent is immutable (BC break!)
eabd333e96b026debc9fe5c63ea9347725638625 authored almost 8 years ago
eabd333e96b026debc9fe5c63ea9347725638625 authored almost 8 years ago
collection|relationship mappers: refactored entity iterators (BC break!)
f4cf22baef87a7ad5232d6d877616e96f1b67d36 authored almost 8 years ago
f4cf22baef87a7ad5232d6d877616e96f1b67d36 authored almost 8 years ago
collection: fixed sorting by nullable property in array collection [closes #211]
d46a8994ea9c75e51c125b33827ac1755aea0f74 authored almost 8 years ago
d46a8994ea9c75e51c125b33827ac1755aea0f74 authored almost 8 years ago
doc: typo
c35712274674b85d5e198150f95d48b0166a732e authored almost 8 years ago
c35712274674b85d5e198150f95d48b0166a732e authored almost 8 years ago
doc: typo
48e1149441455be3ca34bc435184e9df8a395975 authored almost 8 years ago
48e1149441455be3ca34bc435184e9df8a395975 authored almost 8 years ago
entity: fixed constant expansion with no name prefix
6e46e4057042f7188173e59c060d57c2beec88a7 authored almost 8 years ago
6e46e4057042f7188173e59c060d57c2beec88a7 authored almost 8 years ago
entity/metadata: removed duplicit relationship names 1:1d, 1:n, n:1, m:n, n:m, n:n (BC break!)
1cc1f2464f15d45265bea1cbd5e59001eb8f4b58 authored almost 8 years ago
1cc1f2464f15d45265bea1cbd5e59001eb8f4b58 authored almost 8 years ago
Merge pull request #207 from nextras/interface_cleanups
Interface cleanups WIP
e489650a0cffd7b0770d8772c33b8b7a1ffd4530 authored almost 8 years ago
entity: removed IEntity::toArray() method & convert contatns (BC break!)
1f01f75dd5627c25ab8fb745c8b3261bed455849 authored almost 8 years ago
1f01f75dd5627c25ab8fb745c8b3261bed455849 authored almost 8 years ago
typos
3bc595673393f2ecbbb36bbf5d5f5ad5e3566524 authored almost 8 years ago
3bc595673393f2ecbbb36bbf5d5f5ad5e3566524 authored almost 8 years ago
entity: moved preload collection methods to own IEntityHasPreloadContainer interface (BC break)
553eb13dbd6ac2217523ce2f588e072b38bf5b27 authored almost 8 years ago
553eb13dbd6ac2217523ce2f588e072b38bf5b27 authored almost 8 years ago
entity: removed serialization support which was untested & WIP (BC break!)
9f8010bdb3980729d6c91a6046431401f2db4002 authored almost 8 years ago
9f8010bdb3980729d6c91a6046431401f2db4002 authored almost 8 years ago
entity: removed IEntity::getModel()
b6a00686c60ccdb6db18c05bf76ad161672fa9ce authored almost 8 years ago
b6a00686c60ccdb6db18c05bf76ad161672fa9ce authored almost 8 years ago
collection: EntityIterator|Container directly implements IEntityPreloadContainer (BC break)
f5985cc3882ade3d76201a7db89979529938bc89 authored almost 8 years ago
f5985cc3882ade3d76201a7db89979529938bc89 authored almost 8 years ago
Merge pull request #206 from matej21/fix/clear-mapper-cache
DbalMapper - clearCollectionCache also clears relationship mapper cache
8b1969eecf9c44d202e487ae2a22c4443e7726be authored almost 8 years ago
DbalMapper - clearCollectionCache also clears relationship mapper cache
7783271e4445f013aff10e43be68472810cb3f68 authored almost 8 years ago
7783271e4445f013aff10e43be68472810cb3f68 authored almost 8 years ago
1:1d changed to 1:1 in version 2.* (#202)
964722167d90f371949c4ae47cd92db4add9e388 authored almost 8 years ago
964722167d90f371949c4ae47cd92db4add9e388 authored almost 8 years ago
docs: better wording of some chapters
66a7a980b4a68a5eac7fe3bb93ff09ef22def18b authored about 8 years ago
66a7a980b4a68a5eac7fe3bb93ff09ef22def18b authored about 8 years ago
entity: simplified orderBy metadata parsing
e5bd35419e9a6975b2bc312f303f5489015b60b4 authored about 8 years ago
e5bd35419e9a6975b2bc312f303f5489015b60b4 authored about 8 years ago
tests: typo
e55b5e64118c62d08bf27465ba7c9d8ab9d753ad authored about 8 years ago
e55b5e64118c62d08bf27465ba7c9d8ab9d753ad authored about 8 years ago
collection: fixed datetime and null sorting
eeff907329094e855f5b46f192bd698561a40510 authored about 8 years ago
eeff907329094e855f5b46f192bd698561a40510 authored about 8 years ago
relationships: derived collection is not cached & stored in relationship itself
b56a1a0a621943b4c4779785e914858528a2db42 authored about 8 years ago
b56a1a0a621943b4c4779785e914858528a2db42 authored about 8 years ago
readme: updated link to orm demo
32aae905e5a2f6d89676bb6d17889b634fab3133 authored about 8 years ago
32aae905e5a2f6d89676bb6d17889b634fab3133 authored about 8 years ago
composer: use mockery which supports php 7.0 typehints
92cbaeafd778e1a046d0b67445daef5004503142 authored about 8 years ago
92cbaeafd778e1a046d0b67445daef5004503142 authored about 8 years ago
tests: better ignore for logged queries
fd9fc5d0a3ec9051cfe511f1a154241c2b1aab59 authored about 8 years ago
fd9fc5d0a3ec9051cfe511f1a154241c2b1aab59 authored about 8 years ago
tests: replace Nextras Dbal's DateTime with DateTimeImmutable
fixup
af96073b1c3a7d23dec86503c1da14864aae1753 authored about 8 years ago
composer: require Nextras Dbal ~3.0
77986ceeef02f55e6cbb5f4696c150ca6ff462e9 authored about 8 years ago
77986ceeef02f55e6cbb5f4696c150ca6ff462e9 authored about 8 years ago
docs: fixed dbal link
04a6ec2611e3cdf0588d44bae8da3e75ee662847 authored about 8 years ago
04a6ec2611e3cdf0588d44bae8da3e75ee662847 authored about 8 years ago
typos (#199)
29ac3f59bbd4e25d20b88e7b700affe96fb83f9d authored about 8 years ago
29ac3f59bbd4e25d20b88e7b700affe96fb83f9d authored about 8 years ago
Collection filtering - missing ',' after OR in array (#197)
aff821a267a98088bfc5613d3a0bf77ce2be75bc authored about 8 years ago
aff821a267a98088bfc5613d3a0bf77ce2be75bc authored about 8 years ago
collection: updated OR and AND conjunction syntax
512381d7bc4746d3fc350fa2aed517b8a2a3f79a authored about 8 years ago
512381d7bc4746d3fc350fa2aed517b8a2a3f79a authored about 8 years ago
Merge pull request #196 from nextras/or
Or [closes #105]
84eb2af160ed143f1736c3c94d3c5787791de850 authored about 8 years ago
docs: added OR conjuction documentation
494ff937fe2007adeb4a64436fbb51865200a9a0 authored about 8 years ago
494ff937fe2007adeb4a64436fbb51865200a9a0 authored about 8 years ago
collection: implemented support for AND and OR in DbalCollection
985729b64b72bc61f8705108524cc87a33f79123 authored about 8 years ago
985729b64b72bc61f8705108524cc87a33f79123 authored about 8 years ago
collection: implemented support for AND and OR in ArrayCollection
17fcd83debdcb3272d127e2d143c0ba3f8adece4 authored about 8 years ago
17fcd83debdcb3272d127e2d143c0ba3f8adece4 authored about 8 years ago
collection: added test and constants for AND and OR condition operators
f31b30db33008916098540795952c8edd9079897 authored about 8 years ago
f31b30db33008916098540795952c8edd9079897 authored about 8 years ago
composer: autoformat cs
79c9a8af0d177d9d25267c79c0b454f54a9a3379 authored about 8 years ago
79c9a8af0d177d9d25267c79c0b454f54a9a3379 authored about 8 years ago
composer: fixed minimal PHP version
a1b257acf4290a84f92cff62e37308d65270b4e6 authored about 8 years ago
a1b257acf4290a84f92cff62e37308d65270b4e6 authored about 8 years ago
Merge branch 'php7'
ac888e3f429e0495fe56f7de12784c11efb500e2 authored about 8 years ago
ac888e3f429e0495fe56f7de12784c11efb500e2 authored about 8 years ago