Fixed typo in query...
This commit is contained in:
parent
7298b4638b
commit
9aebd67393
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
# 1.0.0-alpha+5
|
||||
* Corrected a typo that was causing the aforementioned test failures.
|
||||
`==` becomes `=`.
|
||||
|
||||
# 1.0.0-alpha+4
|
||||
* Added a null-check in `lib/src/query.dart#L24` to (hopefully) prevent it from
|
||||
crashing on Travis.
|
||||
|
||||
# 1.0.0-alpha+3
|
||||
* Added `isIn`, `isNotIn`, `isBetween`, `isNotBetween` to `SqlExpressionBuilder` and its
|
||||
subclasses.
|
||||
|
|
|
@ -21,7 +21,7 @@ String sanitizeExpression(String unsafe) {
|
|||
continue;
|
||||
|
||||
// Otherwise, add the next char, unless it's a null byte.
|
||||
else if ((ch == scanner.readChar()) != 0) buf.writeCharCode(ch);
|
||||
else if ((ch = scanner.readChar()) != 0 && ch != null) buf.writeCharCode(ch);
|
||||
}
|
||||
|
||||
return buf.toString();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: angel_orm
|
||||
version: 1.0.0-alpha+3
|
||||
version: 1.0.0-alpha+5
|
||||
description: Runtime support for Angel's ORM.
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/orm
|
||||
|
|
Loading…
Reference in a new issue