columnName

Determines the associated column name for a field of an entity type

@safe
enum columnName (
string fieldName
)

Examples

assert(columnName!"name" == "name");
assert(columnName!"user_id" == "user_id");

assert(columnName!"firstName" == "first_name");
assert(columnName!"LastName" == "last_name");

assert(columnName!"userID" == "user_id");
assert(columnName!"canEditPosts" == "can_edit_posts");
assert(columnName!"isHTTPS" == "is_https");
assert(columnName!"isHTTPS_URL" == "is_https_url");

Meta