Skip to content

Commit 8efdba5

Browse files
authored
Improve JSONB has_key doc
1 parent 5918439 commit 8efdba5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

diesel/src/pg/expression/expression_methods.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,9 +1241,10 @@ pub trait PgJsonbExpressionMethods: Expression + Sized {
12411241
{
12421242
Grouped(ConcatJsonb::new(self, other.as_expression()))
12431243
}
1244+
12441245
/// Creates a PostgreSQL `?` expression.
12451246
///
1246-
/// This operator checks if the right hand side string exists as a top-level key within the JSON
1247+
/// This operator checks if the right hand side string exists as a top-level key within the JSONB
12471248
///
12481249
/// # Example
12491250
///

0 commit comments

Comments
 (0)