Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
nette
/
database
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
115
Star
543
Code
Issues
62
Pull requests
24
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
To be deleted (old version of "Fetching rows as native arrays for better static analysis")
- #336
#336
Closed
wonka007
wants to merge 76 commits into
nette:master
nette/database:master
from
wonka007:v3.3
wonka007/nette-database:v3.3
Copy head branch name to clipboard
Conversation
Commits
76
(76)
Checks
Files changed
Closed
To be deleted (old version of "Fetching rows as native arrays for better static analysis")
#336
wonka007
wants to merge 76 commits into
nette:master
nette/database:master
from
wonka007:v3.3
wonka007/nette-database:v3.3
Copy head branch name to clipboard
Commits
Commits on Jun 7, 2026
fixed PHPStan errors
dg
committed
b692bec
View commit details
Copy full SHA for b692bec
Browse repository at this point
phpstan.neon: narrow ignore
dg
committed
36a2e9e
View commit details
Copy full SHA for 36a2e9e
Browse repository at this point
cs
dg
committed
d8e8ade
View commit details
Copy full SHA for d8e8ade
Browse repository at this point
improved phpDoc types
dg
committed
3c5e4c7
View commit details
Copy full SHA for 3c5e4c7
Browse repository at this point
Commits on Jul 16, 2026
SqlPreprocessor: empty ?values inserts a row of database defaults on every driver
Show description for c87e70d
dg
committed
c87e70d
View commit details
Copy full SHA for c87e70d
Browse repository at this point
Selection::insert() returns number of inserted rows during performing multi-insert (#330)
Show description for 959066d
dg
and
KminekMatej
committed
959066d
View commit details
Copy full SHA for 959066d
Browse repository at this point
Selection::insert() phpDoc fixed (#326)
Show description for 0c9eda5
haltuf
authored and
dg
committed
0c9eda5
View commit details
Copy full SHA for 0c9eda5
Browse repository at this point
Helpers::parseColumnType() returns 'size' instead of 'length'
dg
committed
e279109
View commit details
Copy full SHA for e279109
Browse repository at this point
ConnectionPanel: use n:attributes for cleaner syntax
dg
committed
76db6b7
View commit details
Copy full SHA for 76db6b7
Browse repository at this point
Selection: centralized referencing-cache invalidation into a private method
Show description for bb61b68
dg
committed
bb61b68
View commit details
Copy full SHA for bb61b68
Browse repository at this point
Selection::insert() invalidates the referencing cache on every unidentifiable row
Show description for 95437b0
dg
committed
95437b0
View commit details
Copy full SHA for 95437b0
Browse repository at this point
added AGENTS.md & DOCS
dg
committed
81d8311
View commit details
Copy full SHA for 81d8311
Browse repository at this point
SqlPreprocessor: short-circuited ?and/?or no longer leaks bound parameters of discarded conditions
dg
committed
7599fe5
View commit details
Copy full SHA for 7599fe5
Browse repository at this point
Row: fixed __isset() testing a column literally named 'key' instead of the given one
dg
committed
4451075
View commit details
Copy full SHA for 4451075
Browse repository at this point
Row: offsetExists() with numeric index no longer reports falsy values as missing
dg
committed
7b0cb4c
View commit details
Copy full SHA for 7b0cb4c
Browse repository at this point
SqlBuilder: cache-key hashes use serialize(), json_encode() returns false for binary (non-UTF-8) parameters and made condition dedup collide
dg
committed
1182d95
View commit details
Copy full SHA for 1182d95
Browse repository at this point
SqlBuilder: WHERE and JOIN conditions are deduplicated independently, a WHERE identical to an existing JOIN condition is no longer dropped
dg
committed
2cca49f
View commit details
Copy full SHA for 2cca49f
Browse repository at this point
SqlBuilder: buildSelectQuery() and getParameters() no longer permanently mutate the builder with the implicit ORDER BY
dg
committed
c98bff0
View commit details
Copy full SHA for c98bff0
Browse repository at this point
GroupedSelection: limit() offset is no longer ignored with multiple parent rows and no longer lost from the builder after execution
dg
committed
a095c8d
View commit details
Copy full SHA for a095c8d
Browse repository at this point
Selection: SELECT narrowing is disabled for tables without a primary key, a re-query used to crash with LogicException
dg
committed
c8629f5
View commit details
Copy full SHA for c8629f5
Browse repository at this point
ActiveRow: related() on a composite primary key throws NotSupportedException instead of TypeError
dg
committed
a9256cc
View commit details
Copy full SHA for a9256cc
Browse repository at this point
Connection: transaction() no longer masks the original exception when the final ROLLBACK fails (e.g. after a deadlock)
dg
committed
8a485fb
View commit details
Copy full SHA for 8a485fb
Browse repository at this point
Connection: unknown PDO driver name reports InvalidStateException instead of a raw class-not-found Error
dg
committed
1e60e3a
View commit details
Copy full SHA for 1e60e3a
Browse repository at this point
Drivers: completed exception mapping (SQL Server constraint violations, SQLite CHECK, PostgreSQL 57P0x and MySQL 4031 as connection lost)
dg
committed
1593fc8
View commit details
Copy full SHA for 1593fc8
Browse repository at this point
SqlsrvDriver: applyLimit() no longer generates invalid SQL for offset-only and zero-limit queries
dg
committed
042a7f8
View commit details
Copy full SHA for 042a7f8
Browse repository at this point
SqliteDriver: autoincrement detection no longer misfires on substring column names and regex meta-characters
dg
committed
febe4d8
View commit details
Copy full SHA for febe4d8
Browse repository at this point
Reflection: getTable() for an unknown table throws instead of returning a phantom empty table on drivers that do not fail (SQLite)
dg
committed
fddcba2
View commit details
Copy full SHA for fddcba2
Browse repository at this point
MsSqlDriver, OdbcDriver: delimite() no longer doubles the [ character, which corrupted identifiers
dg
committed
beff827
View commit details
Copy full SHA for beff827
Browse repository at this point
MySqlDriver, PgSqlDriver: reflection fixes (composite FK and index column order, functional index parts, view comment, per-connection column-type cache)
dg
committed
dbc0f19
View commit details
Copy full SHA for dbc0f19
Browse repository at this point
ConnectionPanel: fixed off-by-one in maxQueries and skips backtrace collection for queries over the cap
dg
committed
18a9acf
View commit details
Copy full SHA for 18a9acf
Browse repository at this point
ConnectionPanel: the BlueScreen SQL panel is registered only once, multiple connections used to render duplicate panels
dg
committed
aee80cb
View commit details
Copy full SHA for aee80cb
Browse repository at this point
DatabaseExtension: a single connection is detected by the presence of 'dsn', key order in the config no longer changes semantics
dg
committed
7d2b897
View commit details
Copy full SHA for 7d2b897
Browse repository at this point
ResultSet: duplicate-column check runs only once per result set, matching the documented behavior
dg
committed
31000b3
View commit details
Copy full SHA for 31000b3
Browse repository at this point
Helpers: loadFromFile() progress callback no longer divides by zero for streams reporting zero size
dg
committed
a59e2b3
View commit details
Copy full SHA for a59e2b3
Browse repository at this point
DriverException: removed dead assignment in from()
dg
committed
efb41ba
View commit details
Copy full SHA for efb41ba
Browse repository at this point
fixed misleading phpDoc and messages: createActiveRow() promised absent feature, stale arrayMode comment, multi-insert message typo, AGENTS.md PHPStan level
dg
committed
9ade77d
View commit details
Copy full SHA for 9ade77d
Browse repository at this point
ActiveRow: a column probed by isset() before it existed is no longer permanently invisible; __get() reloads all columns before giving up
dg
committed
70b5de8
View commit details
Copy full SHA for 70b5de8
Browse repository at this point
SqliteDriver: index primary flag comes from PRAGMA index_list origin; delimite() throws on ] instead of corrupting the identifier
dg
committed
6059bb9
View commit details
Copy full SHA for 6059bb9
Browse repository at this point
PgSqlDriver: getTables() resolves shadowed table names in search_path order
dg
committed
8b461bd
View commit details
Copy full SHA for 8b461bd
Browse repository at this point
MsSqlDriver: reflection no longer fatals on table names without an explicit schema, defaults to dbo
dg
committed
3549b84
View commit details
Copy full SHA for 3549b84
Browse repository at this point
Selection: page() with less than one item per page throws instead of DivisionByZeroError
dg
committed
f1bf7f7
View commit details
Copy full SHA for f1bf7f7
Browse repository at this point
Conventions: AmbiguousReferenceKeyException message names the table, key and candidates; fixed StaticConventions phpDoc
dg
committed
c87d6ae
View commit details
Copy full SHA for c87d6ae
Browse repository at this point
tests: connect & disconnect test acquires the DSN lock, a parallel fixture load could drop the database under its reconnect()
dg
committed
a4cbc2a
View commit details
Copy full SHA for a4cbc2a
Browse repository at this point
added Selection::insertMany() - typed bulk insert returning the number of inserted rows
dg
committed
ea61603
View commit details
Copy full SHA for ea61603
Browse repository at this point
added Connection::isInTransaction() and Explorer::isInTransaction()
dg
committed
eaf7754
View commit details
Copy full SHA for eaf7754
Browse repository at this point
phpstan.neon: every ignore entry is pinned by count and message where stable, so new errors of the same identifier cannot slip through silently
dg
committed
7ee7539
View commit details
Copy full SHA for 7ee7539
Browse repository at this point
tests: database matrix extended with PostgreSQL 16 and MariaDB 11.4, locally and in CI; runner bumped to ubuntu-24.04
dg
committed
00b2ef1
View commit details
Copy full SHA for 00b2ef1
Browse repository at this point
tests: covered DatabaseExtension config paths (PDO:: constants, reflection BC key, empty conventions, custom class, debugger wiring) and disabled ConnectionPanel
dg
committed
b785265
View commit details
Copy full SHA for b785265
Browse repository at this point
tests: waiting for the DSN lock no longer counts towards the test time limit
Show description for b191ef5
dg
committed
b191ef5
View commit details
Copy full SHA for b191ef5
Browse repository at this point
GroupedSelection: insert() no longer modifies the caller's Row objects
Show description for 426f44e
dg
committed
426f44e
View commit details
Copy full SHA for 426f44e
Browse repository at this point
CI: unpinned pdo_sqlsrv, the pin could not cover the whole PHP matrix
Show description for e66e109
dg
committed
e66e109
View commit details
Copy full SHA for e66e109
Browse repository at this point
opened 3.3-dev
dg
committed
3f82830
View commit details
Copy full SHA for 3f82830
Browse repository at this point
requires PHP 8.3
dg
committed
6719dd2
View commit details
Copy full SHA for 6719dd2
Browse repository at this point
used PHP 8.3 features
dg
committed
3d0b477
View commit details
Copy full SHA for 3d0b477
Browse repository at this point
readme: added jumbo
dg
committed
6527169
View commit details
Copy full SHA for 6527169
Browse repository at this point
some deprecated methods trigger notices
dg
committed
480b672
View commit details
Copy full SHA for 480b672
Browse repository at this point
composer: increased dependencies versions
dg
committed
420bdda
View commit details
Copy full SHA for 420bdda
Browse repository at this point
Reflection: added 'scale' field
dg
committed
7f67c8c
View commit details
Copy full SHA for 7f67c8c
Browse repository at this point
DatabaseExtension: added 'username' as alias for 'user'
dg
committed
27ddcc3
View commit details
Copy full SHA for 27ddcc3
Browse repository at this point
requires tracy 2.12
dg
committed
63262c0
View commit details
Copy full SHA for 63262c0
Browse repository at this point
ConnectionPanel: added support for AI agents
dg
committed
cd6863f
View commit details
Copy full SHA for cd6863f
Browse repository at this point
Connection, Explorer: transaction() supports retry on deadlock, added RetryableException
Show description for eaddfe6
dg
committed
eaddfe6
View commit details
Copy full SHA for eaddfe6
Browse repository at this point
added EntityMapping for row class mapping and `mapping` config option
dg
committed
c5c1c23
View commit details
Copy full SHA for c5c1c23
Browse repository at this point
EntityMapping: added column-to-property name translation
dg
committed
3efab6d
View commit details
Copy full SHA for 3efab6d
Browse repository at this point
ActiveRow: split into Row interface and RowBehavior trait
Show description for cecc9bf
dg
committed
cecc9bf
View commit details
Copy full SHA for cecc9bf
Browse repository at this point
ActiveRow: subclasses can declare typed public properties for IDE/static analysis
dg
committed
0fe2b92
View commit details
Copy full SHA for 0fe2b92
Browse repository at this point
ActiveRow: auto-converts BackedEnum columns based on declared property type
Show description for 32e0c80
dg
committed
32e0c80
View commit details
Copy full SHA for 32e0c80
Browse repository at this point
Selection: insertMany() took over the bulk logic, bulk insert() is deprecated
Show description for 69617db
dg
committed
69617db
View commit details
Copy full SHA for 69617db
Browse repository at this point
Commits on Jul 27, 2026
Selection::insert() returns a lazy row
dg
committed
a72bf2f
View commit details
Copy full SHA for a72bf2f
Browse repository at this point
Selection::insert() returns null instead of the input array for an unidentifiable row
Show description for 878406c
dg
committed
878406c
View commit details
Copy full SHA for 878406c
Browse repository at this point
Selection::insert() returns null consistently when no row can be identified
Show description for 2578dc4
dg
committed
2578dc4
View commit details
Copy full SHA for 2578dc4
Browse repository at this point
Selection::insert(): simplified primary-key resolution to always return a lazy row or null
Show description for 8b9084d
dg
committed
8b9084d
View commit details
Copy full SHA for 8b9084d
Browse repository at this point
SqlPreprocessor: a multi-insert row with a missing or unexpected column warns
Show description for 7aa17fc
dg
committed
7aa17fc
View commit details
Copy full SHA for 7aa17fc
Browse repository at this point
SqlBuilder: tryDelimite() warns about unsupported string literals
Show description for ff42a97
dg
committed
ff42a97
View commit details
Copy full SHA for ff42a97
Browse repository at this point
GroupedSelection: an aggregate over a group without rows returns null
Show description for 9d32efb
dg
committed
9d32efb
View commit details
Copy full SHA for 9d32efb
Browse repository at this point
Commits on Sep 10, 2026
Fetching rows as native arrays
Gardoň Vít
committed
90dd5f4
View commit details
Copy full SHA for 90dd5f4
Browse repository at this point
You can’t perform that action at this time.