# How to add row to JuliaDB table?

**URL:** https://discourse.julialang.org/t/how-to-add-row-to-juliadb-table/7637
**Category:** General Usage
**Tags:** question
**Created:** [December 8, 2017, 9:21pm UTC](https://discourse.julialang.org/t/how-to-add-row-to-juliadb-table/7637 "2017-12-08T21:21:31Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![piever](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/piever/32/1815_2.png) [@piever](https://discourse.julialang.org/u/piever)
#### Post date: [December 9, 2017, 2:10pm UTC](https://discourse.julialang.org/t/how-to-add-row-to-juliadb-table/7637/2 "2017-12-09T14:10:26Z")

</div>

If the table doesn’t have primary keys, you can do: `push!(rows(t), @NT(x = 0, y = 0))`. If there are primary keys, the idea would be to `push!` the row to a buffer and only add the buffer to the table and re-sort it when it’s needed but it’s not implemented yet.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-add-row-to-juliadb-table/7637)._
