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

Handle Script for querying dataset

$
0
0

how to set dataset column type value equals to router params? for example my routes is GET /products/:idstoregroup
my handle scripts

schema "products"

set "id_store_group", column: "id_store_group"
generate 10

my schema https://mockaroo.com/cf196f10

wat i want is to generate data with id_store_group equal to :idstoregroup param


Viewing all articles
Browse latest Browse all 2665

Trending Articles