Sql 0.1.0 API documentation
A DSL in Clojure for SQL query, DML, and DDL.
stch.sql
SQL DSL for query and data manipulation language (DML). Supports a majority of MySQL's statements.
Public variables and functions:
- asc
- build-clause
- collify
- columns
- defhelper
- delete-from
- desc
- from
- group
- having
- insert-into
- join
- left-join
- limit
- modifiers
- offset
- on-dup-key
- order-by
- query-values
- replace-columns
- replace-from
- replace-group
- replace-having
- replace-into
- replace-join
- replace-left-join
- replace-modifiers
- replace-order-by
- replace-right-join
- replace-select
- replace-values
- replace-where
- right-join
- select
- setv
- un-select
- union
- update
- using
- values
- values'
- where
stch.sql.ddl
SQL DSL for data definition language (DDL). Supports a majority of MySQL's statements for tables and databases.
Public variables and functions:
- ->AddColumnSpec
- ->AddIndexSpec
- ->ChangeSpec
- ->ColumnPosition
- ->ColumnSpec
- ->Columns
- ->ConstraintSpec
- ->DBSpec
- ->DefaultValueSpec
- ->DropColumnSpec
- ->DropDefaultSpec
- ->DropForeignKeySpec
- ->DropIndexSpec
- ->DropPrimaryKeySpec
- ->ForeignKeySpec
- ->IndexSpec
- ->RenameSpec
- ->SetDefaultSpec
- ->TableOption
- ->TableSpec
- -add
- AlterAdd
- ColumnOptions
- ColumnOrIndex
- Index
- KeywordOrSym
- NamedOrColumn
- NamedOrConstraint
- NamedOrDB
- NamedOrTable
- TableOrDB
- ToSQL
- WhatsMyName
- add
- after
- alt
- alt-db
- append
- auto-inc
- big-int
- binary
- blob
- bool
- change
- char'
- character-set
- chr
- collate
- column
- column?
- columns
- columns?
- constraint
- create
- date
- datetime
- db
- db?
- decimal
- default
- defcolumns
- defindexfn
- deftable
- deftypefn
- double'
- drop-column
- drop-db
- drop-default
- drop-foreign-key
- drop-index
- drop-primary-key
- drop-table
- drop-temp-table
- engine
- enum
- float'
- foreign-key
- fulltext
- geometry
- idx
- index
- index?
- integer
- linestring
- map->AddColumnSpec
- map->AddIndexSpec
- map->ChangeSpec
- map->ColumnPosition
- map->ColumnSpec
- map->Columns
- map->ConstraintSpec
- map->DBSpec
- map->DefaultValueSpec
- map->DropColumnSpec
- map->DropDefaultSpec
- map->DropForeignKeySpec
- map->DropIndexSpec
- map->DropPrimaryKeySpec
- map->ForeignKeySpec
- map->IndexSpec
- map->RenameSpec
- map->SetDefaultSpec
- map->TableOption
- map->TableSpec
- medium-int
- point
- polygon
- primary-key
- rename
- rename-db
- set'
- set-default
- small-int
- spatial
- strict-map->AddColumnSpec
- strict-map->AddIndexSpec
- strict-map->ChangeSpec
- strict-map->ColumnPosition
- strict-map->ColumnSpec
- strict-map->Columns
- strict-map->ConstraintSpec
- strict-map->DBSpec
- strict-map->DefaultValueSpec
- strict-map->DropColumnSpec
- strict-map->DropDefaultSpec
- strict-map->DropForeignKeySpec
- strict-map->DropIndexSpec
- strict-map->DropPrimaryKeySpec
- strict-map->ForeignKeySpec
- strict-map->IndexSpec
- strict-map->RenameSpec
- strict-map->SetDefaultSpec
- strict-map->TableOption
- strict-map->TableSpec
- table
- table?
- temp-table
- text
- time'
- timestamp
- tiny-int
- to-sql
- truncate
- unique
- varbinary
- varchar
- whats-my-name
- year