From 96be540ca8be8048caa44efbca8ba5d2225af3b7 Mon Sep 17 00:00:00 2001 From: Hampus Lavin Date: Fri, 11 Oct 2024 14:29:35 +0200 Subject: [PATCH] fix: change incorrect casing `iLike` to `ilike`. (#180) --- docs/06-concepts/06-database/06-filter.md | 8 ++++---- docs/06-concepts/06-database/07-relation-queries.md | 2 +- .../version-1.2.0/05-concepts/06-database/06-filter.md | 8 ++++---- .../05-concepts/06-database/07-relation-queries.md | 2 +- .../version-2.0.0/05-concepts/06-database/06-filter.md | 8 ++++---- .../05-concepts/06-database/07-relation-queries.md | 2 +- .../version-2.1.0/06-concepts/06-database/06-filter.md | 8 ++++---- .../06-concepts/06-database/07-relation-queries.md | 2 +- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/06-concepts/06-database/06-filter.md b/docs/06-concepts/06-database/06-filter.md index 52183c9c..bdfd5899 100644 --- a/docs/06-concepts/06-database/06-filter.md +++ b/docs/06-concepts/06-database/06-filter.md @@ -148,19 +148,19 @@ await User.db.find( In the example we fetch all users with a name that does not start with B. -### iLike +### ilike -iLike works the same as `like` but is case-insensitive. +`ilike` works the same as `like` but is case-insensitive. ```dart await User.db.find( - where: (t) => t.name.iLike('a%') + where: (t) => t.name.ilike('a%') ); ``` In the example we fetch all users with a name that starts with a or A. -There is a negated version of iLike that can be used to exclude rows from the result. +There is a negated version of `ilike` that can be used to exclude rows from the result. ```dart await User.db.find( diff --git a/docs/06-concepts/06-database/07-relation-queries.md b/docs/06-concepts/06-database/07-relation-queries.md index 0f4828c1..6a669845 100644 --- a/docs/06-concepts/06-database/07-relation-queries.md +++ b/docs/06-concepts/06-database/07-relation-queries.md @@ -125,7 +125,7 @@ var user = await Company.db.findById( employeeId, include: Company.include( employees: Employee.includeList( - where: (t) => t.name.iLike('a%') + where: (t) => t.name.ilike('a%') ), ), ); diff --git a/versioned_docs/version-1.2.0/05-concepts/06-database/06-filter.md b/versioned_docs/version-1.2.0/05-concepts/06-database/06-filter.md index ec85e5b1..5ab01667 100644 --- a/versioned_docs/version-1.2.0/05-concepts/06-database/06-filter.md +++ b/versioned_docs/version-1.2.0/05-concepts/06-database/06-filter.md @@ -145,19 +145,19 @@ await User.db.find( In the example we fetch all users with a name that does not start with B. -### iLike +### ilike -iLike works the same as `like` but is case-insensitive. +`ilike` works the same as `like` but is case-insensitive. ```dart await User.db.find( - where: (t) => t.name.iLike('a%') + where: (t) => t.name.ilike('a%') ); ``` In the example we fetch all users with a name that starts with a or A. -There is a negated version of iLike that can be used to exclude rows from the result. +There is a negated version of `ilike` that can be used to exclude rows from the result. ```dart await User.db.find( diff --git a/versioned_docs/version-1.2.0/05-concepts/06-database/07-relation-queries.md b/versioned_docs/version-1.2.0/05-concepts/06-database/07-relation-queries.md index b30bcf88..214a9407 100644 --- a/versioned_docs/version-1.2.0/05-concepts/06-database/07-relation-queries.md +++ b/versioned_docs/version-1.2.0/05-concepts/06-database/07-relation-queries.md @@ -125,7 +125,7 @@ var user = await Company.db.findById( employeeId, include: Company.include( employees: Employee.includeList( - where: (t) => t.name.iLike('a%') + where: (t) => t.name.ilike('a%') ), ), );` diff --git a/versioned_docs/version-2.0.0/05-concepts/06-database/06-filter.md b/versioned_docs/version-2.0.0/05-concepts/06-database/06-filter.md index 52183c9c..bdfd5899 100644 --- a/versioned_docs/version-2.0.0/05-concepts/06-database/06-filter.md +++ b/versioned_docs/version-2.0.0/05-concepts/06-database/06-filter.md @@ -148,19 +148,19 @@ await User.db.find( In the example we fetch all users with a name that does not start with B. -### iLike +### ilike -iLike works the same as `like` but is case-insensitive. +`ilike` works the same as `like` but is case-insensitive. ```dart await User.db.find( - where: (t) => t.name.iLike('a%') + where: (t) => t.name.ilike('a%') ); ``` In the example we fetch all users with a name that starts with a or A. -There is a negated version of iLike that can be used to exclude rows from the result. +There is a negated version of `ilike` that can be used to exclude rows from the result. ```dart await User.db.find( diff --git a/versioned_docs/version-2.0.0/05-concepts/06-database/07-relation-queries.md b/versioned_docs/version-2.0.0/05-concepts/06-database/07-relation-queries.md index b30bcf88..214a9407 100644 --- a/versioned_docs/version-2.0.0/05-concepts/06-database/07-relation-queries.md +++ b/versioned_docs/version-2.0.0/05-concepts/06-database/07-relation-queries.md @@ -125,7 +125,7 @@ var user = await Company.db.findById( employeeId, include: Company.include( employees: Employee.includeList( - where: (t) => t.name.iLike('a%') + where: (t) => t.name.ilike('a%') ), ), );` diff --git a/versioned_docs/version-2.1.0/06-concepts/06-database/06-filter.md b/versioned_docs/version-2.1.0/06-concepts/06-database/06-filter.md index 52183c9c..bdfd5899 100644 --- a/versioned_docs/version-2.1.0/06-concepts/06-database/06-filter.md +++ b/versioned_docs/version-2.1.0/06-concepts/06-database/06-filter.md @@ -148,19 +148,19 @@ await User.db.find( In the example we fetch all users with a name that does not start with B. -### iLike +### ilike -iLike works the same as `like` but is case-insensitive. +`ilike` works the same as `like` but is case-insensitive. ```dart await User.db.find( - where: (t) => t.name.iLike('a%') + where: (t) => t.name.ilike('a%') ); ``` In the example we fetch all users with a name that starts with a or A. -There is a negated version of iLike that can be used to exclude rows from the result. +There is a negated version of `ilike` that can be used to exclude rows from the result. ```dart await User.db.find( diff --git a/versioned_docs/version-2.1.0/06-concepts/06-database/07-relation-queries.md b/versioned_docs/version-2.1.0/06-concepts/06-database/07-relation-queries.md index ec366ba0..6b9ba32b 100644 --- a/versioned_docs/version-2.1.0/06-concepts/06-database/07-relation-queries.md +++ b/versioned_docs/version-2.1.0/06-concepts/06-database/07-relation-queries.md @@ -125,7 +125,7 @@ var user = await Company.db.findById( employeeId, include: Company.include( employees: Employee.includeList( - where: (t) => t.name.iLike('a%') + where: (t) => t.name.ilike('a%') ), ), );`