Entity

Kind: global class

new Entity (spec)

Base class for a database entity or script file.

Param Type Description
spec Object Entity arguments:
spec.db Object A {@linkcode Database}.
spec.name String The entity's name.
spec.path String Path to the entity, if a file.
spec.schema String Entity's owning schema, if a database object.
spec.loader String Name of the loader that discovered the entity.