Tags: azutoolkit/cql
Tags
Fix ValidationError initialization to allow default empty errors array - Updated the ValidationError class to initialize with a default empty array for errors, improving error handling flexibility. - Enhanced code clarity by separating the error array declaration from the constructor.
Refactor performance monitoring example and SQL log formatter for cla… …rity - Improved formatting in the performance monitoring example for better readability. - Simplified conditional checks in the SQL log formatter to enhance code clarity. - Ensured consistent comment formatting across the codebase for improved maintainability.
Revise README and update schema for CQL - Enhanced the README to clarify CQL's performance optimization and compile-time safety features. - Updated the database schema to define a new BlogDB context and improved user and post structures. - Refined example code for better clarity and type safety, including validation improvements and query examples. - Added support for multiple database drivers and improved documentation on database connections.
Update CI workflow and refactor example methods for clarity - Modified the GitHub Actions workflow to check formatting and linting specifically for the `./src` and `./spec` directories. - Refactored the `ExampleRunner` class to simplify availability checks for Redis, Postgres, and SQLite by removing unnecessary begin-rescue blocks. - Updated caching methods in `active_record_cache_demo.cr` to use block syntax for better readability.
Enhance SQL dialect definitions with additional comma for clarity - Added trailing commas to parameter lists in the Expression module for column definitions, index creation, and foreign key definitions to improve readability and maintainability. - Cleaned up whitespace in the SQLite dialect to ensure consistent formatting and adherence to coding standards.
Refactor Post model and introduce app schema for blog - Changed the `published` field in the Post model from a nullable getter to a non-nullable getter. - Added a new app schema definition for the blog, including tables for users, categories, posts, and comments with appropriate relationships and default values. - Updated the ScopesPost model to reflect the changes in the Post model's `published` field.
Update README and SUMMARY to include Configuration Guide - Replaced "Your First App" with "Configuration Guide" in the README to emphasize the importance of configuration. - Added links to the Configuration Guide in both the README and SUMMARY for better accessibility. - Updated navigation paths for new users to include the Configuration Guide, enhancing the onboarding experience.
Enhance configuration documentation and improve query performance - Updated the configuration guide to include new sections for database-specific settings, connection pooling, and SSL configuration. - Refactored examples to demonstrate improved query execution timing and aggregation methods. - Made the `published` and `active` fields optional in the Post and User models, respectively, to enhance flexibility in data handling. - Improved overall clarity and organization of the configuration documentation, ensuring users can easily navigate and understand the available options.
PreviousNext