Skip to content

Releases: juanluispaz/ts-sql-query

1.40.0

30 Oct 20:46

Choose a tag to compare

Bug fixes:

  • Fix missing parenthesis in a subtraction of a subtraction

1.39.0

20 Oct 23:01

Choose a tag to compare

Changes:

  • Add support to the returning clause in MariaDB in insert and delete (update not supported yet by MariaDB)
  • Add support to Prisma 4

1.38.0

29 Sep 14:38

Choose a tag to compare

Bug fixes:

  • Fix select page count when a group by is used

1.37.0

22 Sep 23:56

Choose a tag to compare

Changes:

  • Implement allowWhen and disallowWhen that throws an error if the expression is used in the final query

Documentation changes:

  • Fix copy&paste on update documentation refering delete

Bug fixes:

  • Fix minValue and maxValue returning wrong value
  • Fix missing with query when a query in a with clause depends on another with query

1.36.0

31 Aug 20:47

Choose a tag to compare

Bug fixes:

  • Fix invalid uuid type in a reusable fragment

1.35.0

29 Aug 20:11

Choose a tag to compare

Bug fixes:

  • Fix wrong return type of min and max functions in the connection

1.34.0

17 Aug 12:31

Choose a tag to compare

Changes:

  • Add valueWhenNoValue function that allows to return a value when null or undefined were provided to the *IfValue function

1.33.0

16 Aug 11:07

Choose a tag to compare

Bug fixes:

  • Fix "Invalid double value received from the db" when the database send a number as string with trailing 0

1.32.0

15 Aug 14:52

Choose a tag to compare

Changes:

  • Implement onlyWhen and ignoreWhen function that allows ignoring a boolean expression under a condition
  • Add support to virtual columns on tables and views
  • Implement the types InsertableValues, UpdatableValues and SelectedValues that allows to get the types for an insert, update and select with the proper types defined in the table without the other sql objects

1.31.0

08 Aug 05:46

Choose a tag to compare

Bug fixes:

  • Fix misspelling in left outer join