333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
{"version":3,"sources":["../../src/find-options/JoinOptions.ts"],"names":[],"mappings":"","file":"JoinOptions.js","sourcesContent":["/**\n * Used to specify what entity relations should be loaded.\n *\n * Example:\n *  const options: JoinOptions = {\n *     alias: \"photo\",\n *     leftJoin: {\n *         author: \"photo.author\",\n *         categories: \"categories\",\n *         user: \"categories.user\",\n *         profile: \"user.profile\"\n *     },\n *     innerJoin: {\n *         author: \"photo.author\",\n *         categories: \"categories\",\n *         user: \"categories.user\",\n *         profile: \"user.profile\"\n *     },\n *     leftJoinAndSelect: {\n *         author: \"photo.author\",\n *         categories: \"categories\",\n *         user: \"categories.user\",\n *         profile: \"user.profile\"\n *     },\n *     innerJoinAndSelect: {\n *         author: \"photo.author\",\n *         categories: \"categories\",\n *         user: \"categories.user\",\n *         profile: \"user.profile\"\n *     }\n * };\n */\nexport interface JoinOptions {\n\n    /**\n     * Alias of the main entity.\n     */\n    alias: string;\n\n    /**\n     * Array of columns to LEFT JOIN.\n     */\n    leftJoinAndSelect?: { [key: string]: string };\n\n    /**\n     * Array of columns to INNER JOIN.\n     */\n    innerJoinAndSelect?: { [key: string]: string };\n\n    /**\n     * Array of columns to LEFT JOIN.\n     */\n    leftJoin?: { [key: string]: string };\n\n    /**\n     * Array of columns to INNER JOIN.\n     */\n    innerJoin?: { [key: string]: string };\n\n}\n"],"sourceRoot":".."}