All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.inflected.src.foreignKey.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
import underscore from "./underscore";

export default function foreignKey(className, separateWithUnderscore = true) {
  return `${underscore(className)}${separateWithUnderscore ? "_id" : "id"}`;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy