diff --git a/components/Sidebar.jsx b/components/Sidebar.jsx
index 0c476f4bb4..c9bba65633 100644
--- a/components/Sidebar.jsx
+++ b/components/Sidebar.jsx
@@ -69,6 +69,8 @@ export default class Sidebar extends Component {
– whereBetween
– whereNotBetween
– whereRaw
+ – whereLike
+ – whereILike
Join Methods:
– join
diff --git a/sections/builder.js b/sections/builder.js
index 16f3a03fd3..4643e3b5a9 100644
--- a/sections/builder.js
+++ b/sections/builder.js
@@ -735,6 +735,34 @@ export default [
}
]
},
+ {
+ type: "method",
+ method: "whereLike",
+ example: ".whereLike(column, string|builder|raw)",
+ description: "Adds a where clause with case-sensitive substring comparison on a given column with a given value.",
+ children: [
+ {
+ type: "runnable",
+ content: `
+ knex('users').whereLike('email', '%mail%')
+ `
+ }
+ ]
+ },
+ {
+ type: "method",
+ method: "whereILike",
+ example: ".whereILike(column, string|builder|raw)",
+ description: "Adds a where clause with case-insensitive substring comparison on a given column with a given value.",
+ children: [
+ {
+ type: "runnable",
+ content: `
+ knex('users').whereILike('email', '%mail%')
+ `
+ }
+ ]
+ },
{
type: "heading",
size: "md",