7.029
SQL bindings for tech.ml.dataset.
Namespaces
tech.v3.dataset.sql
Pathways to transform dataset to and from SQL databases. Built directly on java.sql interfaces. Generically SQL doesn't support very many datatypes but an effort has been made to enable database-specific support for these base datatypes:
Public variables and functions:
- create-sql
- create-table!
- database-name
- database-type-table
- drop-table!
- drop-table-when-exists!
- ensure-table!
- execute-prepared-statement-batches!
- execute-update!
- generic-column->sql
- generic-sql->column
- insert-dataset!
- insert-sql
- make-convert-column->sql
- make-convert-sql->column
- postgre-sql-connect-str
- postgres-upsert-sql
- result-set->dataset
- result-set->dataset-seq
- result-set-metadata->data
- set-datatype-mapping!
- sql->dataset
- sql->dataset-seq
- sql-server-connect-str
- table-exists?
tech.v3.dataset.sql.datatypes
SQL datatypes are their own unique mess. You are required to use their integer type index for setNull on prepared statements so we need a global map from sql type to type index.
Public variables and functions: