Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: stellarwp/db

Tags

1.2.0

Toggle 1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Refactor `CRUD::delete` method to support advanced DELETE queries (#25)

The current implementation relies on `wpdb::delete`, which supports only simple `where x = y` conditions. It's not only incomplete but also dangerous because `Where::$comparisonOperator` and `Where::$logicalOperator` are just ignored, so the result is unpredictable. The following change provides a way to use existing QueryBuilder functionality to generate DELETE SQL. The documentation describes some restrictions.

1.1.1

Toggle 1.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #21 from stellarwp/bugfix/php-types

Bugfix: PHP doc types

1.1.0

Toggle 1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #16 from binarygary/feature/upsert

Add a basic upsert method

1.0.7

Toggle 1.0.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #15 from stellarwp/fix/php-8.1-deprecation

Don't `trim( null )`

1.0.6

Toggle 1.0.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #14 from stellarwp/bugfix/exception-array-shape

Fix array shape for errors in DatabaseQueryException

1.0.5

Toggle 1.0.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #13 from stellarwp/fix-where-exists-return-type

1.0.4

Toggle 1.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #12 from stellarwp/fix-db-table-phpdoc

Fix DB::from() PHPDoc

1.0.3

Toggle 1.0.3's commit message
Updating changelog for 1.0.3

1.0.2

Toggle 1.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Updating release date of v1.0.2

1.0.1

Toggle 1.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #1 from stellarwp/feature/config

Add a config class to provide some customizability