Skip to content

Commit

Permalink
build(deps): bump github.com/huandu/go-sqlbuilder from 1.29.1 to 1.30…
Browse files Browse the repository at this point in the history
….0 (#58)

Bumps
[github.com/huandu/go-sqlbuilder](https://github.com/huandu/go-sqlbuilder)
from 1.29.1 to 1.30.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/huandu/go-sqlbuilder/releases">github.com/huandu/go-sqlbuilder's
releases</a>.</em></p>
<blockquote>
<h2>New feature: Add &quot;IS [NOT] DISTINCT FROM&quot; comparison
operators to <code>Cond</code></h2>
<h2>What's New</h2>
<ul>
<li>Add &quot;IS [NOT] DISTINCT FROM&quot; comparison operators to
<code>Cond</code> <a
href="https://redirect.github.com/huandu/go-sqlbuilder/issues/169">#169</a></li>
<li>Automatically build compatible operators for a flavor.
<ul>
<li>If a database system does not support an operator,<code>Cond</code>
can automatically build compatible syntax as a substitute.</li>
<li>For example, calling <code>IsDistinctFrom(&quot;field&quot;,
value)</code> automatically determines which expression to output based
on the current database flavor. If the flavor is
<code>PostgreSQL</code>, it builds &quot;field IS DISTINCT FROM
$1&quot;. For <code>MySQL</code>, which does not support this operator,
it builds the functionally equivalent expression &quot;NOT field <!--
raw HTML omitted --> ?&quot;.</li>
</ul>
</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/huandu/go-sqlbuilder/compare/v1.29.1...v1.30.0">https://github.com/huandu/go-sqlbuilder/compare/v1.29.1...v1.30.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/huandu/go-sqlbuilder/commit/5d9be7f47523a8e92e694661f2b3fc6f46ba699f"><code>5d9be7f</code></a>
reduce count of memory allocations in Cond.And/Or/Not</li>
<li><a
href="https://github.com/huandu/go-sqlbuilder/commit/e114413e0dad401b3981f2de7d6fc074361243cb"><code>e114413</code></a>
update doc for IsDistinctFrom and IsNotDistinctFrom</li>
<li><a
href="https://github.com/huandu/go-sqlbuilder/commit/975bcfd083bb1320c7c9c718f6627ad419177955"><code>975bcfd</code></a>
fix <a
href="https://redirect.github.com/huandu/go-sqlbuilder/issues/169">#169</a>:
support IS [NOT] DISTINCT FROM operator</li>
<li>See full diff in <a
href="https://github.com/huandu/go-sqlbuilder/compare/v1.29.1...v1.30.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/huandu/go-sqlbuilder&package-manager=go_modules&previous-version=1.29.1&new-version=1.30.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
  • Loading branch information
rfdez authored Oct 1, 2024
2 parents 0346257 + 89e9488 commit 68f6487
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/gin-contrib/logger v1.1.2
github.com/gin-gonic/gin v1.10.0
github.com/google/uuid v1.6.0
github.com/huandu/go-sqlbuilder v1.29.1
github.com/huandu/go-sqlbuilder v1.30.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/lib/pq v1.10.9
github.com/pkg/errors v0.9.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/huandu/go-assert v1.1.6 h1:oaAfYxq9KNDi9qswn/6aE0EydfxSa+tWZC1KabNitYs=
github.com/huandu/go-assert v1.1.6/go.mod h1:JuIfbmYG9ykwvuxoJ3V8TB5QP+3+ajIA54Y44TmkMxs=
github.com/huandu/go-sqlbuilder v1.29.1 h1:8hy8Yq+xsPu6IV9ELU6l5GahGOhToRkIhTGZWwLYr+s=
github.com/huandu/go-sqlbuilder v1.29.1/go.mod h1:mS0GAtrtW+XL6nM2/gXHRJax2RwSW1TraavWDFAc1JA=
github.com/huandu/go-sqlbuilder v1.30.0 h1:d4QiUZrex3WQjsgyhyKYEsnr9v1msBSQRbQJl4I7mT4=
github.com/huandu/go-sqlbuilder v1.30.0/go.mod h1:mS0GAtrtW+XL6nM2/gXHRJax2RwSW1TraavWDFAc1JA=
github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU=
github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
Expand Down

0 comments on commit 68f6487

Please sign in to comment.