Quantcast
Channel: Mockaroo Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 2665

Is it possible to create data based on different data?

$
0
0

What im trying to achieve is generating fake data for my sql database. So the question is how to handle situation when property value on table B depends on table A property?

Example:
Table A : {
id : id pk
author: null or integer
}
Table B : {
id: id pk
accepted: true(if related author is not null, otherwise null or false)
TableA_id: id fk
}

Im new to mockaroo. Basic operations are easy for me but with this one i need help :wink:
Thanks


Viewing all articles
Browse latest Browse all 2665

Trending Articles