EntityNameArray()

edit

Returns all loaded entity names as an array.

Requires Extension: Hibernate ORM Engine Extension

EntityNameArray( );

Returns: Array

This function does not take any arguments.

Usage Notes

edit

Returns the names of all persistent entities mapped in the current application as an array.

Useful for debugging or building dynamic admin interfaces. See also EntityNameList().

Examples

edit
entities = entityNameArray();
// [ "User", "Product", "Order" ]
for ( name in entities ) {
	systemOutput( "Mapped entity: #name#", true );
}

See also