Skip to content
#

transactions

Here are 407 public repositories matching this topic...

xaragen
xaragen commented Aug 10, 2021

Working on a project I ran into the documentation for customizing the Foreign Key.
The docs read:

// https://sequelize.org/master/manual/assocs.html
// For example, to use UUID as the foreign key data type instead of the default (INTEGER), you can simply do:

const { DataTypes } = require("Sequelize");

Foo.hasOne(Bar, {
  foreignKey: {
    // name: 'myFooId'
    type: D
locker
locker commented Nov 22, 2021

Sometimes we need to store a reference to an error object somewhere in the code so that we can return it to users. A good example is net.box: if the state machine is in the error state, we should return the error that caused the failure to all user requests. The problem is a user that got an error may link it to another error with [error.set_prev](https://www.tarantool.io/en/doc/latest/reference

Improve this page

Add a description, image, and links to the transactions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the transactions topic, visit your repo's landing page and select "manage topics."

Learn more