Skip to content

Commit

Permalink
update changelog for 0.2.0 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsidnev authored May 3, 2022
1 parent a66b66e commit 7cef4e7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 23 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0] - Unreleased
## [0.3.0] - Unreleased

[Compare with 0.1.0](https://github.com/nsidnev/edgedb-elixir/compare/v0.1.0...HEAD)
[Compare with 0.2.0](https://github.com/nsidnev/edgedb-elixir/compare/v0.2.0...HEAD)

## [0.2.0] - 2022-05-03

[Compare with 0.1.0](https://github.com/nsidnev/edgedb-elixir/compare/v0.1.0...v0.2.0)

### Added

Expand Down
43 changes: 22 additions & 21 deletions pages/datatypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@ EdgeDB driver for Elixir automatically converts EdgeDB types to the correspondin

The table below shows the correspondence between EdgeDB and Elixir types.

| EdgeDB | Elixir | Example |
| ----------------------------------- | ---------------------------------------- | ----------------------------------------------------- |
| `set` | `t:EdgeDB.Set.t/0` | `#EdgeDB.Set<{1, 2, 3}>}` |
| `array<anytype>` | `t:list/0` | `[1, 2, 3]` |
| `anytuple` | `t:tuple/0` or `t:EdgeDB.NamedTuple.t/0` | `{1, 2, 3}`, ` #EdgeDB.NamedTuple<a: 1, b: 2, c: 3>}` |
| `anyenum` | `t:String.t/0` | `"green"` |
| `Object` | `t:EdgeDB.Object.t/0` | `#EdgeDB.Object<name := "username">}` |
| `bool` | `t:boolean/0` | `true`, `false` |
| `bytes` | `t:binary/0` | `<<1, 2, 3>>`, `"some bytes"` |
| `str` | `t:String.t/0` | `"Hello EdgeDB!"` |
| `cal::local_date` | `t:Date.t/0` | `~D[2018-05-07]` |
| `cal::local_time` | `t:Time.t/0` | `~T[15:01:22]` |
| `cal::local_datetime` | `t:NaiveDateTime.t/0` | `~N[2018-05-07 15:01:22]` |
| `cal::relative_duration` | `t:EdgeDB.RelativeDuration.t/0` | `#EdgeDB.RelativeDuration<"PT45.6S">` |
| `datetime` | `t:DateTime.t/0` | `~U[2018-05-07 15:01:22Z]` |
| `duration` | `t:integer/0` | `-420000000` |
| `float32`, `float64` | `t:float/0` | `3.1415` |
| `int16`, `int32`, `int64`, `bigint` | `t:integer/0` | `16` |
| `decimal` | `t:Decimal.t/0` | `#Decimal<1.23>` |
| `json` | `t:any/0` | `42` |
| `uuid` | `t:String.t/0` | `"0eba1636-846e-11ec-845e-276b0105b857"` |
| EdgeDB | Elixir | Example |
| ------------------------- | ---------------------------------------- | ---------------------------------------------------- |
| `str` | `t:String.t/0` | `"Hello EdgeDB!"` |
| `bool` | `t:boolean/0` | `true`, `false` |
| `int16`, `int32`, `int64` | `t:integer/0` | `16` |
| `float32`, `float64` | `t:float/0` | `3.1415` |
| `bigint`, `decimal` | `t:Decimal.t/0` | `#Decimal<1.23>` |
| `json` | `t:any/0` | `42` |
| `uuid` | `t:String.t/0` | `"0eba1636-846e-11ec-845e-276b0105b857"` |
| `anyenum` | `t:String.t/0` | `"green"` |
| `datetime` | `t:DateTime.t/0` | `~U[2018-05-07 15:01:22Z]` |
| `duration` | `t:integer/0` | `-420000000` |
| `cal::local_datetime` | `t:NaiveDateTime.t/0` | `~N[2018-05-07 15:01:22]` |
| `cal::local_date` | `t:Date.t/0` | `~D[2018-05-07]` |
| `cal::local_time` | `t:Time.t/0` | `~T[15:01:22]` |
| `cal::relative_duration` | `t:EdgeDB.RelativeDuration.t/0` | `#EdgeDB.RelativeDuration<"PT45.6S">` |
| `bytes` | `t:binary/0` | `<<1, 2, 3>>`, `"some bytes"` |
| `array<anytype>` | `t:list/0` | `[1, 2, 3]` |
| `anytuple` | `t:tuple/0` or `t:EdgeDB.NamedTuple.t/0` | `{1, 2, 3}`, `#EdgeDB.NamedTuple<a: 1, b: 2, c: 3>}` |
| `object` | `t:EdgeDB.Object.t/0` | `#EdgeDB.Object<name := "username">}` |
| `set` | `t:EdgeDB.Set.t/0` | `#EdgeDB.Set<{1, 2, 3}>}` |
| `cfg::memory` | `t:EdgeDB.ConfigMemory.t/0` | `#EdgeDB.ConfigMemory<"5KiB">` |

0 comments on commit 7cef4e7

Please sign in to comment.