EntityNameList()
Returns all loaded entity names as a delimited string list.
Requires Extension: Hibernate ORM Engine Extension
EntityNameList( delimiter=string );
Returns: String
| Argument | Description |
|---|---|
|
delimiter
string,
optional
|
edit
delimiter used for the list |
Usage Notes
editReturns the names of all persistent entities mapped in the current application as a string list. Pass a custom delimiter as the argument — defaults to comma.
Useful for debugging or building dynamic admin interfaces. See also EntityNameArray().
Examples
edit// Default comma delimiter
names = entityNameList();
// "User,Product,Order"
// Custom delimiter
names = entityNameList( " | " );
// "User | Product | Order"
See also
- ORM
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)