Function prepareBatchUpdate

  • Parameters

    • platform: DefaultPlatform
    • classSchema: ReflectionClass<any>
    • changeSets: DatabasePersistenceChangeSet<any>[]
    • options: {
          setNamesWithTableName?: true;
      } = {}
      • Optional setNamesWithTableName?: true

    Returns undefined | {
        aggregateSelects: {
            [name: string]: {
                id: any;
                sql: string;
            }[];
        };
        assignReturning: {
            [name: string]: {
                item: any;
                names: string[];
            };
        };
        changedFields: string[];
        originPkField: string;
        originPkName: string;
        pkField: string;
        pkName: string;
        primaryKeys: any[];
        setNames: string[];
        setReturning: {
            [name: string]: 1;
        };
        tableName: string;
        values: {
            [name: string]: any[];
        };
        valuesSet: {
            [name: string]: any[];
        };
    }

Generated using TypeDoc