-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
This repository is deprecated
The NetteDatabaseDataSource has been ported directly into the main contributte/datagrid repository and will be maintained there going forward.
What changed
The implementation was rewritten and integrated as Contributte\Datagrid\DataSource\NetteDatabaseDataSource in the core package. Key differences from this standalone package:
- No extra dependencies — filter injection uses subquery wrapping instead of PHPSQLParser, so no additional packages are required.
- Ships with datagrid — you no longer need a separate
composer requirefor the data source. - Same API — constructor signature and behaviour are compatible: pass a
Nette\Database\Explorer, a raw SQL string, and optional parameters.
Migration
Once the feature is released in a stable version of contributte/datagrid, replace:
use Contributte\DatagridNetteDatabaseDataSource\NetteDatabaseDataSource;with:
use Contributte\Datagrid\DataSource\NetteDatabaseDataSource;No other changes should be needed.
Timeline
The feature is currently in the feature/nette-database-data-source branch of contributte/datagrid. It will be included in the next release.
This repository will receive no further updates. Please open new issues and PRs in the main datagrid repository.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels