-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into feat/querybuilder-v2
- Loading branch information
Showing
29 changed files
with
668 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
CREATE MIGRATION m1xgcfneyhgejgvqtk3e46njjnngnxdwqeq3jh5idjfjhjxppfv5ya | ||
ONTO m1qobo3k5z5dg56j3vymsaktqjnff5uv4ndpytjpqfwkda7lxinllq | ||
{ | ||
CREATE MODULE tests IF NOT EXISTS; | ||
CREATE TYPE tests::ScalarContainer { | ||
CREATE PROPERTY a: std::int16; | ||
CREATE PROPERTY b: std::int32; | ||
CREATE PROPERTY c: std::int64; | ||
CREATE PROPERTY d: std::str; | ||
CREATE PROPERTY e: std::bool; | ||
CREATE PROPERTY f: std::float32; | ||
CREATE PROPERTY g: std::float64; | ||
CREATE PROPERTY h: std::bigint; | ||
CREATE PROPERTY i: std::decimal; | ||
CREATE PROPERTY j: std::uuid; | ||
CREATE PROPERTY k: std::json; | ||
CREATE PROPERTY l: std::datetime; | ||
CREATE PROPERTY m: cal::local_datetime; | ||
CREATE PROPERTY n: cal::local_date; | ||
CREATE PROPERTY o: cal::local_time; | ||
CREATE PROPERTY p: std::duration; | ||
CREATE PROPERTY q: cal::relative_duration; | ||
CREATE PROPERTY r: cal::date_duration; | ||
CREATE PROPERTY s: std::bytes; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module tests { | ||
type ScalarContainer { | ||
a: int16; | ||
b: int32; | ||
c: int64; | ||
d: str; | ||
e: bool; | ||
f: float32; | ||
g: float64; | ||
h: bigint; | ||
i: decimal; | ||
j: uuid; | ||
k: json; | ||
l: datetime; | ||
m: cal::local_datetime; | ||
n: cal::local_date; | ||
o: cal::local_time; | ||
p: duration; | ||
q: cal::relative_duration; | ||
r: cal::date_duration; | ||
s: bytes; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/EdgeDB.Net.Driver/Binary/Codecs/ArgumentCodecContext.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace EdgeDB.Binary.Codecs; | ||
|
||
internal sealed class ArgumentCodecContext : CodecContext | ||
{ | ||
public readonly ICodec[] Codecs; | ||
|
||
public ArgumentCodecContext(ICodec[] codecs, EdgeDBBinaryClient client) | ||
: base(client) | ||
{ | ||
Codecs = codecs; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace EdgeDB.Binary.Codecs; | ||
|
||
internal interface ICompiledCodec : ICodec, IWrappingCodec | ||
{ | ||
Type CompiledFrom { get; } | ||
CompilableWrappingCodec Template { get; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.