ex_dash v0.1.0 ExDash.Formatter.Docset.SQLite

Execute an SQL query using the sqlite3 command line utility.

Summary

Types

query()
query() :: String.t
query_result()
query_result() :: String.t

Functions

create_index(db)
create_index(String.t) :: :ok
exec!(database, query)

Executes given query onto a database.

{:ok, results} = ExDocDash.SQLite.exec(“my.db”, “SELECT * from something”) IO.format(“Results: #{results}”)

index_item(db, name, type, path)
index_item(Map.t, String.t, String.t, String.t) :: :ok