Funkcja lambda jest wywoływana tylko raz dla każdego wstawianego rekordu, dzięki czemu każdy rekord otrzymuje unikalny identyfikator UUID, nawet jeśli wstawianych jest wiele rekordów w pojedynczej transakcji.
The lambda function is called once for each record inserted, ensuring that each record gets a unique UUID, even if multiple records are inserted in a single transaction.
Należy pamiętać, że przy definiowaniu wirtualnego pola, funkcja lambda musi kwalifikować pola z nazwą bazy danych, ale w argumencie links nie jest to konieczne.
Note that when defining the virtual field, the lambda function must qualify fields with the table name, but in the links argument, this is not necessary.
linkto: funkcja lambda lub akcja, która ma być użyta do zlinkowania pól referencyjnych (domyślnie None)
linkto lambda function or an action to be used to link reference fields (default to None).
Funkcja lambda umożliwia szybkie, inline'owe wykonanie kodu bez zaśmiecania globalnej przestrzeni nazw.
An anonymous function allows for quick, inline execution without cluttering the global scope.
Jeśli nie ma tego co potrzeba ani w pamieci RAM ani na dysku, to wykonywana jest funkcja lambda: time.ctime() i pamięć podręczna zostaje zaktualizowana.
If it is not in RAM or on disk, lambda: time.ctime() is executed and the cache is updated.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.