(atomic-type-data rec__2313__auto__)
(atomic-type-data data__2314__auto__ v__2315__auto__)
Lens for the data
field from a AtomicType
record. See sqlosure.type/make-atomic-type
.
Lens for the `data` field from a [[AtomicType]] record. See [[sqlosure.type/make-atomic-type]].
(atomic-type-name rec__2313__auto__)
(atomic-type-name data__2314__auto__ v__2315__auto__)
Lens for the name
field from a AtomicType
record. See sqlosure.type/make-atomic-type
.
Lens for the `name` field from a [[AtomicType]] record. See [[sqlosure.type/make-atomic-type]].
(atomic-type-nullable? rec__2313__auto__)
(atomic-type-nullable? data__2314__auto__ v__2315__auto__)
Lens for the nullable?
field from a AtomicType
record. See sqlosure.type/make-atomic-type
.
Lens for the `nullable?` field from a [[AtomicType]] record. See [[sqlosure.type/make-atomic-type]].
(atomic-type-numeric? rec__2313__auto__)
(atomic-type-numeric? data__2314__auto__ v__2315__auto__)
Lens for the numeric?
field from a AtomicType
record. See sqlosure.type/make-atomic-type
.
Lens for the `numeric?` field from a [[AtomicType]] record. See [[sqlosure.type/make-atomic-type]].
(atomic-type-ordered? rec__2313__auto__)
(atomic-type-ordered? data__2314__auto__ v__2315__auto__)
Lens for the ordered?
field from a AtomicType
record. See sqlosure.type/make-atomic-type
.
Lens for the `ordered?` field from a [[AtomicType]] record. See [[sqlosure.type/make-atomic-type]].
(atomic-type-predicate rec__2313__auto__)
(atomic-type-predicate data__2314__auto__ v__2315__auto__)
Lens for the predicate
field from a AtomicType
record. See sqlosure.type/make-atomic-type
.
Lens for the `predicate` field from a [[AtomicType]] record. See [[sqlosure.type/make-atomic-type]].
(atomic-type? thing)
Is object a AtomicType
record? See sqlosure.type/make-atomic-type
.
Is object a `AtomicType` record? See [[sqlosure.type/make-atomic-type]].
(base-type-name t)
Yield name of base type.
Yield name of base type.
(bounded-string-type-max-size rec__2313__auto__)
(bounded-string-type-max-size data__2314__auto__ v__2315__auto__)
Lens for the max-size
field from a BoundedStringType
record. See sqlosure.type/really-make-bounded-string-type
.
Lens for the `max-size` field from a [[BoundedStringType]] record. See [[sqlosure.type/really-make-bounded-string-type]].
(bounded-string-type-nullable? rec__2313__auto__)
(bounded-string-type-nullable? data__2314__auto__ v__2315__auto__)
Lens for the nullable?
field from a BoundedStringType
record. See sqlosure.type/really-make-bounded-string-type
.
Lens for the `nullable?` field from a [[BoundedStringType]] record. See [[sqlosure.type/really-make-bounded-string-type]].
(bounded-string-type? thing)
Is object a BoundedStringType
record? See sqlosure.type/really-make-bounded-string-type
.
Is object a `BoundedStringType` record? See [[sqlosure.type/really-make-bounded-string-type]].
(date? x)
checks whether a value is of type java.util.Date.
checks whether a value is of type java.util.Date.
(make-atomic-type name nullable? numeric? ordered? predicate data)
Construct a AtomicType
record.
name
: access via sqlosure.type/atomic-type-name
nullable?
: access via sqlosure.type/atomic-type-nullable?
numeric?
: access via sqlosure.type/atomic-type-numeric?
ordered?
: access via sqlosure.type/atomic-type-ordered?
predicate
: access via sqlosure.type/atomic-type-predicate
data
: access via sqlosure.type/atomic-type-data
Construct a `AtomicType` record. `name`: access via [[sqlosure.type/atomic-type-name]] `nullable?`: access via [[sqlosure.type/atomic-type-nullable?]] `numeric?`: access via [[sqlosure.type/atomic-type-numeric?]] `ordered?`: access via [[sqlosure.type/atomic-type-ordered?]] `predicate`: access via [[sqlosure.type/atomic-type-predicate]] `data`: access via [[sqlosure.type/atomic-type-data]]
(make-base-type name predicate & [opts])
Returns a new base type as specified.
If :universe is supplied, the new type will be registered in the universe and
this function returns a vector containing [type universe]
.
Returns a new base type as specified. If :universe is supplied, the new type will be registered in the universe and this function returns a vector containing `[type universe]`.
(make-bounded-string-type max-size)
Create string type with given maximum number of chars.
Create string type with given maximum number of chars.
(make-nullable-type t)
Make type nullable.
Make type nullable.
(non-nullable-type base)
Yield non-nullable version of type.
Yield non-nullable version of type.
(numeric-type? ty)
Is type numeric, in the sense of the server's capability to call standard operations like MAX and AVG on them.
Is type numeric, in the sense of the server's capability to call standard operations like MAX and AVG on them.
(ordered-type? ty)
Is type ordered, in the sense of the servers' capability to make an 'order by' on them.
Is type ordered, in the sense of the servers' capability to make an 'order by' on them.
(product-type-components rec__2313__auto__)
(product-type-components data__2314__auto__ v__2315__auto__)
Lens for the components
field from a ProductType
record. See sqlosure.type/really-make-product-type
.
Lens for the `components` field from a [[ProductType]] record. See [[sqlosure.type/really-make-product-type]].
(product-type? thing)
Is object a ProductType
record? See sqlosure.type/really-make-product-type
.
Is object a `ProductType` record? See [[sqlosure.type/really-make-product-type]].
(really-make-bounded-string-type max-size nullable?)
Construct a BoundedStringType
record.
max-size
: access via sqlosure.type/bounded-string-type-max-size
nullable?
: access via sqlosure.type/bounded-string-type-nullable?
Construct a `BoundedStringType` record. `max-size`: access via [[sqlosure.type/bounded-string-type-max-size]] `nullable?`: access via [[sqlosure.type/bounded-string-type-nullable?]]
(really-make-product-type components)
Construct a ProductType
record.
components
: access via sqlosure.type/product-type-components
Construct a `ProductType` record. `components`: access via [[sqlosure.type/product-type-components]]
(really-make-set-type member-type)
Construct a SetType
record.
member-type
: access via sqlosure.type/set-type-member-type
Construct a `SetType` record. `member-type`: access via [[sqlosure.type/set-type-member-type]]
(set-type-member-type rec__2313__auto__)
(set-type-member-type data__2314__auto__ v__2315__auto__)
Lens for the member-type
field from a SetType
record. See sqlosure.type/really-make-set-type
.
Lens for the `member-type` field from a [[SetType]] record. See [[sqlosure.type/really-make-set-type]].
(set-type? thing)
Is object a SetType
record? See sqlosure.type/really-make-set-type
.
Is object a `SetType` record? See [[sqlosure.type/really-make-set-type]].
(timestamp? d)
Returns true if d is a java.time.LocalDateTime.
Returns true if d is a java.time.LocalDateTime.
(type-member? thing ty)
Checks if thing
is a member of a type.
Checks if `thing` is a member of a type.
Protocol for base types.
Protocol for base types.
(-contains? this val)
Does non-null value belong to this base type?
Does non-null value belong to this base type?
(-data this)
Domain-specific data, for outside use.
Domain-specific data, for outside use.
(-name this)
Get name of the type.
Get name of the type.
(-non-nullable this)
Get us non-nullable version of this type.
Get us non-nullable version of this type.
(-nullable this)
Get us nullable version of this type.
Get us nullable version of this type.
(-nullable? this)
Is this type nullable?
Is this type nullable?
(-numeric? this)
Is this type numeric?
Is this type numeric?
(-ordered? this)
Is this type ordered?
Is this type ordered?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close