Skip to content

Commit

Permalink
return Adbc.Column (#70)
Browse files Browse the repository at this point in the history
* renamed `Adbc.Buffer` to `Adbc.Column`

* wrap primivitive data types in `Adbc.Column`

* wrap list type in `Adbc.Column`

* return metadata if any

* return nullable value in `Adbc.Column`

* implemented `Adbc.Result.to_map/1` and added some tests for it

* updated inline docs for some functions in `Adbc.Column`

* mix format

* use `Enum.zip_with/2`

* added support for `date{32,64}` when binding parameters

* Apply suggestions from code review

Co-authored-by: José Valim <[email protected]>

* remove unused commented code

* allow to use seconds and milliseconds in `Adbc.Buffer.date{32,64}` respectively

* fixed tests related to `Adbc.Result.to_map/1`

---------

Co-authored-by: José Valim <[email protected]>
  • Loading branch information
cocoa-xu and josevalim authored May 9, 2024
1 parent 383742f commit 248b956
Show file tree
Hide file tree
Showing 8 changed files with 1,822 additions and 427 deletions.
452 changes: 353 additions & 99 deletions c_src/adbc_nif.cpp

Large diffs are not rendered by default.

149 changes: 0 additions & 149 deletions lib/adbc_buffer.ex

This file was deleted.

Loading

0 comments on commit 248b956

Please sign in to comment.