Artistry::Artifact
Constants
FIND_COLUMNS = "a.id, a.code, a.version, a.data, a.hash, i.created_at, a.new_id, a.updated_at, i.kind_seq"
Constructors
Class methods
Find by slug — supports both absolute (C99) and kind-relative (99C).
Find by kind-relative sequence number.
Looks up the identity with the given code and kind_seq, then returns the artifact at that identity.
Query artifacts by code (current versions only by default)
Instance methods
code
Sourcecreated_at
Sourcedata
Sourcehash
Generates an UInt64 hash value for this object.
This method must have the property that a == b implies a.hash == b.hash.
The hash value is used along with == by the Hash class to determine if two objects
reference the same hash key.
Subclasses must not override this method. Instead, they must define hash(hasher),
though usually the macro def_hash can be used to generate this method.
id
Sourcekind_seq
Sourcenew_id
Sourceupdated_at
Sourceversion
Source