Skip to content

Releases: ForbesLindesay/atdatabases

@databases/pg-typed@4.4.1

29 Mar 11:18
f55a9f1
Compare
Choose a tag to compare

Bug Fixes

  • Sub-queries that were guaranteed to be false could result in attempting to execute SQL that was not syntactically valid. (#288)

    For example, given the function:

    async function getUsersThatCreatedPhotos(photoIds: DbPhoto["id"][]) {
      return await users(db)
        .find({id: photos.key(`created_by_id`, {id: anyOf(photoIds)})})
        .all()
    }

    Calling:

    getUsersThatCreatedPhotos([])

    should return a Promise for an empty array, without actually needing to query the database, but instead it attempted to run a database query that was not valid SQL.

@databases/pg-config@3.2.0

16 Mar 12:03
3682f12
Compare
Choose a tag to compare

New Features

  • Added support for config files with .cjs extension (#287)

@databases/mysql-config@3.2.0

16 Mar 12:03
3682f12
Compare
Choose a tag to compare

New Features

  • Added support for config files with .cjs extension (#287)

@database/cache@1.0.0

14 Mar 16:49
30fcc0c
Compare
Choose a tag to compare

Initial Release

@databases/sqlite-sync@1.0.0

13 Jan 17:45
260f94d
Compare
Choose a tag to compare

New Features

  • Initial Release (#275)

@databases/pg-schema-cli@4.3.1

13 Jan 17:45
260f94d
Compare
Choose a tag to compare

Bug Fixes

  • Update interrogator dependency to remove broken TypeScript definitions (#275)

@databases/pg-migrations@5.0.2

13 Jan 17:45
260f94d
Compare
Choose a tag to compare

Bug Fixes

  • Update interrogator dependency to remove broken TypeScript definitions (#275)

@databases/mysql-schema-cli@1.1.1

13 Jan 17:45
260f94d
Compare
Choose a tag to compare

Bug Fixes

  • Update interrogator dependency to remove broken TypeScript definitions (#275)

@databases/migrations-base@3.0.1

13 Jan 17:45
260f94d
Compare
Choose a tag to compare

Bug Fixes

  • Update interrogator dependency to remove broken TypeScript definitions (#275)

@databases/sql@3.3.0

12 Jan 16:40
fc057f6
Compare
Choose a tag to compare

New Features

  • Added the isSqlQuery utility to the default sql export so it can be used as sql.isSqlQuery(q) to test whether a value is an SQL query. (#268)