TxMetaData_

molecule.boilerplate.api.TxMetaData_
trait TxMetaData_

transaction apply data on molecule.

Tx takes a transaction apply data molecule with attributes having the transaction id as their entity id.

for {
 // Save molecule with transaction apply data
 _ <- Person.name("Ben").Tx.apply(MyMetaData.action("add member")).save

 // Query for data with transaction apply data - "which persons became members"
 _ <- Person.name.Tx.apply(MyMetaData.action_("add member")).get.map(_ ==> List("Ben"))
} yield ()

Attributes

Source
TxMetaData.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait TxMetaData_0
trait TxMetaData_1[A]
trait TxMetaData_10[A, B, C, D, E, F, G, H, I, J]
trait TxMetaData_11[A, B, C, D, E, F, G, H, I, J, K]
trait TxMetaData_12[A, B, C, D, E, F, G, H, I, J, K, L]
trait TxMetaData_13[A, B, C, D, E, F, G, H, I, J, K, L, M]
trait TxMetaData_14[A, B, C, D, E, F, G, H, I, J, K, L, M, N]
trait TxMetaData_15[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O]
trait TxMetaData_16[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P]
trait TxMetaData_17[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q]
trait TxMetaData_18[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R]
trait TxMetaData_19[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S]
trait TxMetaData_2[A, B]
trait TxMetaData_20[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T]
trait TxMetaData_21[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U]
trait TxMetaData_22[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V]
trait TxMetaData_3[A, B, C]
trait TxMetaData_4[A, B, C, D]
trait TxMetaData_5[A, B, C, D, E]
trait TxMetaData_6[A, B, C, D, E, F]
trait TxMetaData_7[A, B, C, D, E, F, G]
trait TxMetaData_8[A, B, C, D, E, F, G, H]
trait TxMetaData_9[A, B, C, D, E, F, G, H, I]
Show all
In this article