mirror of https://github.com/AMT-Cheif/drift.git
Small docs improvements
This commit is contained in:
parent
81a476662c
commit
195eb0b39b
|
@ -8,7 +8,7 @@ linkTitle: "Moor"
|
|||
{{< blocks/cover title="Moor: Persistence library for Dart" image_anchor="top" height="med" color="indigo" >}}
|
||||
<div class="mx-auto">
|
||||
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
|
||||
Learn More <i class="fas fa-arrow-alt-circle-right ml-2"></i>
|
||||
Learn moor <i class="fas fa-arrow-alt-circle-right ml-2"></i>
|
||||
</a>
|
||||
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://pub.dev/packages/moor_flutter">
|
||||
Get fom pub <i class="fas fa-code ml-2 "></i>
|
||||
|
|
|
@ -19,6 +19,8 @@ extension StringExpressionOperators on Expression<String> {
|
|||
|
||||
/// Whether this expression contains [substring].
|
||||
///
|
||||
/// Note that this is case-insensitive for the English alphabet only.
|
||||
///
|
||||
/// This is equivalent to calling [like] with `%<substring>%`.
|
||||
Expression<bool> contains(String substring) {
|
||||
return like('%$substring%');
|
||||
|
|
Loading…
Reference in New Issue