* fix: Build ESM migrations for JS
Including jsdoc for typehinting
Add esm as an option in the migrate cli
Update the documentation for the JS migrations
Closes: #10801
* fix: Fix the migration documentation
* Cleanup the types in the migrations
* Add the formatted sql console
* Add the formatSql to the logger
* Update src/logger/FormattedConsoleLogger.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Make names in test more consistent
* Add a sub query example
* Set the language to the sql formatter
* Import SqlLanguage as a type from sql-formatter
* Remove empty console log
* Remove console log
* Add the dataSourceType
* Remove js extension from import
* Use another package to format the SQL in the logging
Same package as we use to generate the migrations
* Not need to add all the spaces in the log
* Fix the expected formatted queries
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Add "enableQueryTimeout" option to MysqlConnectionOptions. When enabled the value of "maxQueryExecutionTime" will be passed to mysql driver as query timeout.
---------
Co-authored-by: Mike Guida <mike@mguida.com>
Including jsdoc for typehinting
Add esm as an option in the migrate cli
Update the documentation for the JS migrations
fixes#10801
Co-authored-by: Mike Guida <mike@mguida.com>
* feat: add new foreign key decorator, and entity schemas options
This new feature adds the ability to create foreign key constraints without entity relations, using `@ForeignKey()` decorator or entity schema options.
Closes: #4569
* docs: add "How to use Vite for the backend" entry to faq
* Apply suggestions from code review
docs: apply suggested grammar and spelling changes
Co-authored-by: Mike Guida <mike@mguida.com>
* Apply suggestions from code review
docs: add link to vite documentation
Co-authored-by: Mike Guida <mike@mguida.com>
---------
Co-authored-by: Mike Guida <mike@mguida.com>
* chore: add announcement file
* chore: add link from home page to announcement
* fix: link to announcement in readme
* chore: remove todo
* chore: add Tauri links
* feat: implement or operator
This new feature enables typeorm to allow use multiple operators joining with or
Closes: #10054
* feat: implement or operator
Completed code formating using command.
Closes: #10054
* feat: implement or operator
Completed the documentation update.
Closes: #10054
* feat: implement or operator
Renamed Or operator file name.
Closes: #10054
* feat: implement or operator
Renamed Or operator file name.
Closes: #10054
* feat: implement or operator
Renamed Or operator file name.
Closes: #10054
* feat: implement or operator
Renamed Or operator.
Closes: #10054
The getRepository method is missing from the example.
Delete the "users" written in the createQueryBuilder method because it is not used in the where method.