# Changelog

# 0.0.92 - 03 August, 2023

# Bug fixes

  • Fix a bug where the default values for newly added fields in the schema do not take effect
  • Fix that the return value can return null
  • Aggregation function count adds '*' field query

# New features

  • Add View Api

# 0.0.91 - 14 June, 2023

# Update Methods

  • Unify aggregation functions in method aggregate

# New features

-Add connectOrInsert methods

# 0.0.89 - 19 May, 2023

# Bug fixes

  • Fix composite foreign key connect connection type mismatch issue

# 0.0.88 - 23 April, 2023

# Bug fixes

  • Fix SQL error bug when querying sub tables for union unique field constraints

# 0.0.87 - 23 April, 2023

# Bug fixes

  • Fixed a bug when modifying field types in pg database model
  • Fixed a bug in the model where adding unique and index fields did not create constraints

# 0.0.82 - 19 January, 2023

# Bug fixes

  • Fixed bugs in AND, OR, NOT queries in where conditions

# 0.0.81 - 20 December, 2022

# Bug fixes

  • Modify the Date type field to pass in the time string
  • Fixed the bug when adding foreign key

# 0.0.80 - 1 November, 2022

# Bug fixes

  • Fixed automatic addition and deletion of many to many relational tables when modifying the relationship of relational fields

# 0.0.79 - 8 October, 2022

# Bug fixes

  • Fixed typescript package version

# 0.0.76 - 15 September, 2022

# Bug fixes

  • When modifying the foreign key name, modify the database field name
  • updateMany, delete, deleteMany operations where conditions support associated queries

# 0.0.75 - 8 September, 2022

# Bug fixes

  • Fixed @$_.updateAt
  • Fixed better-sqlite3 database, add and delete unique attribute
  • Fixed the problem that the foreign key action refers to the configuration in config.json when creating the database

# 0.0.74 - 22 August, 2022

# Bug fixes

  • Add and, or, not in where type

# 0.0.73 - 8 August, 2022

# Bug fixes

  • Modify the mutatedselect method in the $handle operation
  • And, or, not are added to the where type in the generated data table type

# 0.0.72 - 29 July, 2022

# New features

  • Mini program client

# 0.0.71 - 4 July, 2022

# Bug fixes

  • findOne where Condition cannot be empty

# 0.0.70 - 23 June, 2022

# Bug fixes

  • Remove axios, use fetch

# Typings

  • Remove queries method types

# 0.0.69 - 17 June, 2022

# Bug fixes

  • Type definition changed to namespace mode

# 0.0.68 - 16 June, 2022

# Bug fixes

  • Date validate