- Added support for SQL Views 🎉
- The library now automatically recognizes
CREATE VIEWstatements and creates model classes for them - Field names are extracted from the SELECT statement in views
- Views support the same query methods as tables (find, findOne)
- Added example of using views in documentation and example code
- The library now automatically recognizes
- Added a new section about working with Views in README.md
- Added example SQL file for views
- Updated example code to demonstrate view usage
- Fixed typos and improved documentation
- Fixed inconsistency in SQL file examples in README
- Initial release with minor improvements
- Initial implementation of SQL template utility
- Support for parameterized queries with type validation
- SQL injection prevention
- JavaScript expressions in SQL templates
- Loading SQL from files
- Model classes from table schemas