Skip to content

v1.9.4-beta.1 - Statements cache#130

Open
gmpassos wants to merge 15 commits into
masterfrom
statements-cache
Open

v1.9.4-beta.1 - Statements cache#130
gmpassos wants to merge 15 commits into
masterfrom
statements-cache

Conversation

@gmpassos

Copy link
Copy Markdown
Contributor

No description provided.

gmpassos added 9 commits June 29, 2025 18:06
  - New `CachedStatement`.
  - Added property `forCachedStatements`: forces generation of SQL statements suitable for caching.
- `DBSQLAdapterCapability`: added `statementsCache`.

- `ConditionSQLEncoder`:
  - Added property `forCachedStatements`: forces generation of SQL statements suitable for caching.

- New mixin `StatementCache`
  - New `CachedStatement`.

- `PostgreSQLConnectionWrapper` now has support for statements cache (with `StatementCache`).
@gmpassos gmpassos changed the title Statements cache v1.9.4-beta.1 - Statements cache Jun 29, 2025
gmpassos added 6 commits June 29, 2025 20:05
# Conflicts:
#	CHANGELOG.md
#	lib/src/bones_api_base.dart
#	pubspec.yaml
  - Fix resolution of parameter values present only in `EncodingContext.encodingParameters`
    (i.e., generated by the encoder, not passed as normal parameters).
  - Fix resolution of parameter values present only in `EncodingContext.encodingParameters`
    (i.e., generated by the encoder, not passed as normal parameters).
@codecov

codecov Bot commented Jun 30, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 58.47458% with 49 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.31%. Comparing base (dc4dc40) to head (abd5aa6).
⚠️ Report is 121 commits behind head on master.

Files with missing lines Patch % Lines
lib/src/bones_api_entity_db_sql.dart 57.62% 25 Missing ⚠️
lib/src/bones_api_condition_sql.dart 50.00% 18 Missing ⚠️
lib/src/bones_api_condition_encoder.dart 60.00% 4 Missing ⚠️
lib/src/bones_api_entity_db_postgres.dart 84.61% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
- Coverage   65.34%   65.31%   -0.04%     
==========================================
  Files          60       60              
  Lines       20096    20195      +99     
==========================================
+ Hits        13132    13190      +58     
- Misses       6964     7005      +41     
Flag Coverage Δ
unittests 65.31% <58.47%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant