100 Commits
Author SHA1 Message Date
Dmitry Rashupkin 112b74ee7a Save
CI Tests / test (push) Has been cancelled
2026-06-23 12:59:49 +03:00
Dmitry Rashupkin 45c30e8980 Исправление Grammar
CI Tests / test (push) Has been cancelled
2026-04-29 15:32:55 +03:00
Dmitry Rashupkin 14345b2622 Save 29042026
CI Tests / test (push) Has been cancelled
2026-04-29 15:22:30 +03:00
Dmitry Rashupkin 22c6dbc6d8 Merge remote-tracking branch 'upstream/master'
CI Tests / test (push) Has been cancelled
2026-04-29 15:04:34 +03:00
Denis Glushkov 184d0cb9c4 Fix: propagate connection override to Builder from BaseModel (#58) 2026-04-19 17:27:37 +05:00
Denis Glushkov ec76c2d640 Fix Laravel 13 compatibility issue (#55), Integrations/Laravel/Connection::select() 2026-04-19 16:42:53 +05:00
Thomas AliasandGitHub b45f5de151 Fix CurlerRollingWithRetries::execOne definition to match smi2/phpClickHouse v1.26.406 (#57) 2026-04-17 18:21:58 +05:00
Mark BeechandGitHub a94b55ded2 Fix: Dynamic property deprecation in Builder::aggregate() due to incompatible cloneWithout() call (#52) 2026-03-24 15:08:46 +05:00
Oral ÜNALandGitHub dab4243872 fix(Connection): add parameter to select() for Laravel 13 compatibility (#54) 2026-03-24 14:27:47 +05:00
glushkovdsanddglushkov a6e0f56b2e Updated CHANGELOG.md 2026-02-10 11:57:14 +05:00
Felix BernhardandGitHub 62620360e7 add query logging to builder (#49) 2026-02-10 11:46:08 +05:00
Anton SamofalandGitHub d10acef42a fix(BaseModel): replace Eloquent HasEvents trait with a minimal custom implementation (#48)
Larastan v3 added @phpstan-require-extends to Eloquent's HasEvents trait, causing class.missingExtends errors for all ClickHouse models since BaseModel does not extend Eloquent Model.

Replaced with a minimal HasEvents trait that provides only the event
dispatching BaseModel actually uses (creating, created, saved), without requiring Eloquent Model inheritance.

Closes #47
2026-02-10 11:45:45 +05:00
drashupkin 81b978b13a Обновить src/WithClient.php
CI Tests / test (push) Has been cancelled
Добавлено выбора database в модели 

protected $database = 'Prices';
2025-11-14 11:33:41 +03:00
Denis Glushkov 215416e732 Fork the-tinderbox/clickhouse-builder to support php8.4. This lib is likely abandoned 2025-06-27 15:04:15 +05:00
Denis Glushkov a9a7e6c402 Fork the-tinderbox/clickhouse-builder to support php8.4. This lib is likely abandoned 2025-06-26 20:10:14 +05:00
Claudio PennatiandGitHub d52fb94438 fix: explicit nullable type (#41) 2025-06-26 19:52:06 +05:00
Denis Glushkov 7ae3507892 Migration::createMergeTree, set Replicated Engine by default for clusters 2025-04-24 12:46:38 +05:00
MaxGitingandGitHub 3ea6bbc2a7 Update fireModelEvent('creating') to follow Laravel behavior and support early return (#40)
* Return early if required

* remove false
2025-04-24 10:36:41 +05:00
Denis Glushkov f68ff42426 Added Schema Builder 2025-04-21 19:59:15 +05:00
Mark BeechandGitHub 8dddb534d9 Allow us to run beforeExecutingCallbacks() (#39) 2025-04-18 12:01:09 +05:00
Denis Glushkov ee27e56548 Tests: updated ClickHouse server versions 2025-02-27 20:24:33 +05:00
Denis Glushkov 0cd6e9e8c8 Added support for Laravel 12 (#36), Added count, paginate and simplePaginate (#37) 2025-02-27 19:22:09 +05:00
jcsorianoandGitHub 35af68bcdb Add count, paginate and simplePaginate (#37) 2025-02-27 19:18:07 +05:00
Denis Glushkov e919c58330 Added support for Laravel 12 (#36) 2025-02-25 11:52:00 +05:00
Michael BraunöderandGitHub 67caa69f66 fix laravel 12 issue with getDefaultQueryGrammar (#36)
* fix laravel 12 issue with getDefaultQueryGrammar
2025-02-25 10:43:35 +05:00
Denis Glushkov 2762a79947 patch: running tests 2024-09-13 11:46:50 +05:00
Jess ArcherandGitHub 7a0f060b17 Fix parameter numbering with whereIn and nested where (#34)
* Fix parameter numbering with whereIn

* Fix nested where parameters

* Prepare parameters on non-select statements
2024-09-13 11:45:14 +05:00
Denis Glushkov 2efca916ee Fix parameter numbering with whereIn 2024-09-12 17:15:44 +05:00
Denis Glushkov 2009960f89 Fix GitHub action error: docker-compose: command not found 2024-09-10 13:22:16 +05:00
Denis Glushkov 3fb1861284 Fix parameter numbering with whereIn 2024-09-10 13:19:38 +05:00
Denis Glushkov 9a13f23674 v2.0.0 ClickHouse cluster support 2024-07-26 20:34:49 +05:00
Denis Glushkov 884b21f65f BindingsTest 2024-06-25 20:46:31 +05:00
Jess ArcherandGitHub f5f12081af Log query events (#33)
Log query events
2024-06-25 20:20:16 +05:00
Denis Glushkov b851f2f398 Laravel 11 install fix 2024-06-25 20:19:48 +05:00
Denis Glushkov c12afe3f92 fix autotest 2024-04-10 18:27:52 +05:00
Denis Glushkov 807f382e23 fix autotest 2024-04-10 18:24:08 +05:00
Denis Glushkov c1719c8484 fix autotest 2024-04-10 18:19:54 +05:00
Denis Glushkov fe3edef3e2 fix autotest 2024-04-10 18:18:16 +05:00
Denis Glushkov 120e08000c fix autotest 2024-04-10 18:15:34 +05:00
Denis Glushkov 474389d941 pass $bindings to get & getRows methods 2024-04-10 16:59:31 +05:00
Slaine WilleyandGitHub 9e9c151cc6 Update BaseModel.php (#31)
fix - collection of models not working with pluck because __isset not set in base model.
2023-10-16 13:09:36 +05:00
Denis Glushkov 10cd5a9f73 Added column casting feature for data insertion 2023-09-28 15:09:15 +05:00
opiyandGitHub 7af0c5b56b Update README.md (#29)
Add notice to place ClickhouseServiceProvider before AppServiceProvider and EventServiceProvider, otherwise model events won't work
2023-09-28 15:08:10 +05:00
Denis Glushkov 4750699f21 fix Call to undefined method PhpClickHouseLaravel\Builder::newQuery()
https://github.com/glushkovds/phpclickhouse-laravel/issues/26
2023-09-28 11:08:22 +05:00
a8d954c308 fix Call to undefined method relationResolver on Laravel 10 (#28)
Co-authored-by: alex14v <alexv14vvv@gmail.com>
2023-09-28 10:41:41 +05:00
Denis Glushkov 8ad177a6ac Added the settings clause to the select query builder 2023-07-10 15:15:03 +05:00
АндрейandGitHub 0ad490c5c6 Extract Builder creation to factory method newQuery (#24)
* Extract Builder creation to factory method newQuery

* Added autoload for Test namespace.

---------

Authored-by: Андрей Радионов <radionov@gilmon.ru>
2023-07-07 14:50:02 +05:00
Mykhailo PoliakovandGitHub ad456b4f3e Update RawColumn.php (#22)
Phpstan on 5 level give error, because in RawColumn DocBlock is inconsistent with parameters given when calling RawColumn class in code
ex. new RawColumn("sspName", "ssp") cause this error:
"Parameter #2 $alias of class PhpClickHouseLaravel\RawColumn constructor expects null, string given."
2023-04-18 19:30:21 +05:00
Denis Glushkov 8147a321fe Working with multiple Clickhouse instances in a project, backward compatibility with old static::getClient 2023-03-24 12:58:23 +05:00
Denis Glushkov 7429faa99a Working with multiple Clickhouse instances in a project 2023-03-24 12:47:46 +05:00