View Code? Open in Web Editor
NEW
Low code , Zero Configuration ORM that creates models, config, database and tables on the fly.
Home Page: https://component.scrawlerlabs.com/arca-orm/
License: Apache License 2.0
arca-orm's People
Contributors
Watchers
arca-orm's Issues
Author: u/senior_property_7511
convert $db->get(‘user’ , $id) to $db->getOne(‘user’,$id)
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Repository problems
These problems occurred while renovating this repository. View logs .
WARN: Detected empty commit - aborting git push
Other Branches
These updates are pending. To force PRs open, click the checkbox below.
Open
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Ignored or Blocked
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
Detected dependencies
composer
composer.json
php >=8.1.0
doctrine/dbal ^4.0
loophp/collection ^7.0
ramsey/uuid ^4.3
squizlabs/php_codesniffer 3.7.2
loophp/phpunit-iterable-assertions 1.0.3
doctrine/collections 2.1.2
phpstan/phpstan 1.10.36
phpmd/phpmd 2.14.1
pestphp/pest ^2.4
pestphp/pest-plugin-faker ^2.0
github-actions
.github/workflows/tests.yml
actions/checkout v4
shivammathur/setup-php v2
codecov/codecov-action v3
html
docs/api/classes/Scrawler-Arca-Collection-CollectionInterface.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/classes/Scrawler-Arca-Collection.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/classes/Scrawler-Arca-Database.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/classes/Scrawler-Arca-Exception-ConstructModelException.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/classes/Scrawler-Arca-Exception-KeyNotFoundException.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/classes/Scrawler-Arca-Facade-Database.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/classes/Scrawler-Arca-Manager-ModelManager.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/classes/Scrawler-Arca-Manager-RecordManager.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/classes/Scrawler-Arca-Manager-TableManager.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/classes/Scrawler-Arca-Model.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/classes/Scrawler-Arca-QueryBuilder.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-collection-collectioninterface.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-collection.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-database.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-exception-constructmodelexception.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-exception-keynotfoundexception.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-facade-database.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-manager-modelmanager.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-manager-recordmanager.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-manager-tablemanager.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-model.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/files/src-querybuilder.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/index.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/indices/files.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/namespaces/default.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/namespaces/scrawler-arca-collection.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/namespaces/scrawler-arca-exception.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/namespaces/scrawler-arca-facade.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/namespaces/scrawler-arca-manager.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/namespaces/scrawler-arca.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/namespaces/scrawler.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/packages/Application.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/packages/default.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/reports/deprecated.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/reports/errors.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
docs/api/reports/markers.html
font-awesome 5.12.0@sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=
Hey there,
I'm glad and honoured that you're using loophp/collection , but I think you should not do this.
By "this", I mean copying the content of the Collection class into your namespace .
When doing that, you basically discard all the upstream fixes and features that might comes in loophp/collection in the future.
The best option is to directly rely on the Collection class and its interface by using Composition pattern.
I quickly drafted something for you here so you can get some inspirations: https://gist.github.com/drupol/c8f97902184decc7fbf004120fe89fc0
Note that you are not "forced" to implements ALL the methods of the Collection interface, you could have your own interface and just implements the minimum you need and just using loophp/collection internally without never exposing everything.
Let me know if you need further help.
Thx
in version v1.1.2 in the file
src/Database.php on line 230 there is a debug line print('Get All Called \r \n');