Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Database abstraction with Julia

Many languages provide database abstraction to save data (objects) to relational databases (generally through object relational mapping (ORM)).

I'm aware that Julia is not a "conventional" object oriented language (see julia: OOP or not )

But I wonder if a library with the following features exists ?

  • Connect to a database through a database URI like "dialect+driver://username:password@host:port/database" (see Python SQLAlchemy http://docs.sqlalchemy.org/en/latest/core/engines.html )

  • Store objects (in fact instances of composite type) to a DB

  • Retrieve objects from DB

like image 863
Femto Trader Avatar asked Apr 20 '16 17:04

Femto Trader


1 Answers

The JuliaDB collection lists various ways (i.e. julia libraries) to connect to databases, most of which should support the above functionality.

See https://github.com/JuliaComputing/JuliaDB.jl

like image 199
Tasos Papastylianou Avatar answered Nov 02 '22 20:11

Tasos Papastylianou