Skip to content

Commit

Permalink
Document SQLite translation to unhex
Browse files Browse the repository at this point in the history
Part of #4419
  • Loading branch information
bricelam authored Aug 29, 2023
1 parent d035d7c commit ab87ccb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions entity-framework/core/providers/sqlite/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ string.Join(separator, group.Select(x => x.Property)) | group_concat(Property, @

## Binary functions

.NET | SQL
---------------------------------------------- | ---
.NET | SQL | Added in
---------------------------------------------- | ------------------------------------ | --------
bytes.Contains(value) | instr(@bytes, char(@value)) > 0
bytes.Length | length(@bytes)
bytes.SequenceEqual(second) | @bytes = @second
EF.Functions.Hex(bytes) | hex(@bytes)
EF.Functions.Substr(bytes, startIndex) | substr(@bytes, @startIndex)
EF.Functions.Substr(bytes, startIndex, length) | substr(@bytes, @startIndex, @length)
EF.Functions.Unhex(value) | unhex(@value) | EF Core 8.0
EF.Functions.Unhex(value, ignoreChars) | unhex(@value, @ignoreChars) | EF Core 8.0

## Conversion functions

Expand Down

0 comments on commit ab87ccb

Please sign in to comment.