(build-atomic-cache)
(build-http-client config)
(build-memory-client schema)
(build-memory-client schema take-action-map)
(get! _ key)
(put! _ key value)
(take-action! _ action inputs)
Submits a request to perform the given action
Submits a request to perform the given action
(limits! _)
Returns the current limits
Returns the current limits
(create! _ type attrs)
Creates an object of the given type and attrs using the given salesforce client. If salesforce responds successfully, this returns the object's id, otherwise this raises an exception.
Creates an object of the given type and attrs using the given salesforce client. If salesforce responds successfully, this returns the object's id, otherwise this raises an exception.
(list-actions! _ path)
Gets a list of actions that can be performed
Gets a list of actions that can be performed
(objects! _)
Lists all objects
Lists all objects
(list! _ type)
Lists all objets of the given type
Lists all objets of the given type
(describe-action! _ action)
Describes an action
Describes an action
(cache _)
Returns a persistent cache
Returns a persistent cache
(describe! _ type)
Describes the given type
Describes the given type
(delete! _ type id)
Deletes the object of the given type with the given id. This returns true if it succeeds and raises an exception otherwise.
Deletes the object of the given type with the given id. This returns true if it succeeds and raises an exception otherwise.
(import! _ type records)
Imports the given records into the given type
Imports the given records into the given type
(update! _ type id attrs)
Updates the object of the given type with the given id. This returns true if it succeeds and raises an exception otherwise.
Updates the object of the given type with the given id. This returns true if it succeeds and raises an exception otherwise.
(query! _ query)
Executes the given query and returns all results, eagerly fetching if there is pagination
Executes the given query and returns all results, eagerly fetching if there is pagination
(count! _ query)
Returns the number of results from the given query
Returns the number of results from the given query
(client? x)
(get-attrs-for-label client type label)
Returns the set of attributes on the given type that have the given label
Returns the set of attributes on the given type that have the given label
(get-field-description client type attr)
Obtains the description for the given field on a type by its attribute
Obtains the description for the given field on a type by its attribute
(get-fields client type)
Obtains a map of descriptions by field for the given type
Obtains a map of descriptions by field for the given type
(get-type-description client type)
Obtains the description for a given type and builds some custom indexes into it. This will only fetch the type once for a given client.
Obtains the description for a given type and builds some custom indexes into it. This will only fetch the type once for a given client.
(get-types client)
Obtains a map of descriptions by type
Obtains a map of descriptions by type
(resolve-attr-path client type attr-path)
Resolves a path of attrs against a given type, returning a path of fields. All but the last attr in a path must resolve to a reference type.
Resolves a path of attrs against a given type, returning a path of fields. All but the last attr in a path must resolve to a reference type.
(resolve-field-path field-path)
Derives a seq of record keys for the given seq of fields, suitable for applying to the result of the underlying query! fn
Derives a seq of record keys for the given seq of fields, suitable for applying to the result of the underlying query! fn
(schema client types)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close