Quantcast
Channel: Mockaroo Community Forum - Latest posts
Browsing all 2665 articles
Browse latest View live

How to configure product()

The AI bot indicates that Product() can be configured for items other than Grocery but how is that accomplished? It said - Configure Product Field: When using the "Product" data type, you can specify...

View Article


Conditional code issue

I am creating a university database and am creating data for staff members. (id, first, last, email, phone, is_student, student_id) is_student will have outputs either ‘yes’ or ‘no’. When is_student...

View Article


Image may be NSFW.
Clik here to view.

Custom distribution for everymonth

[“date”] column use formula: generate(‘Datetime’, min: concat(‘01/01/’, year(now())-1), max: concat(‘12/31/’,year(now())+1)).to_date.strftime("%Y-%m-%d") [“status”] column: I am trying to distribution...

View Article

Generating SQL can add an option?

Is there an option to add an option when generating sql, e.g. compress sql statements into INSERT INTO table_name (column1,column2,column3,…) VALUES (value1,value2,value3,…) , (value1,value2,value3,…)...

View Article

POST to /dataset/:name does not update the Dataset

I’m currently using the generate endpoint to get a new dataset, something like this: https://api.mockaroo.com/api/generate.csv?key=abcd1234&count=50&schema=foo then immediately POSTing that...

View Article


Started getting "SSL alert number 80" last week

I switched CDNs on Friday. The new CDN only supports TLS v1.2 and above. My guess is you can fix that error by upgrading your client or simply restart the process to force a renegotiation of...

View Article

How to backup schemas in batches?

I found that schemas can only be backed up individually through “backup to file”, not in batches

View Article

Image may be NSFW.
Clik here to view.

Conditional code issue

You can try doing it this way: Then add your formula on the student_number: if is_student == true then this else end Here is a sample schema: https://mockaroo.com/e4e0d330

View Article


How do I generate unique full name in each record

Good day, I am new to Mockaroo…how do I generate unique full name in each record?

View Article


Fill field if another field is true

I can see the results of the solution but what did you do to get this to work?

View Article

Image may be NSFW.
Clik here to view.

How do I generate unique full name in each record

Create a new schema, set Type to Full Name. Done.

View Article

Payment not working from Visa/Discover cards

Can upgrade using Visa Card from India

View Article

Image may be NSFW.
Clik here to view.

Is it possible to create data based on different data?

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 :...

View Article


Conditions multiple fields

Fake non profit donation data: I have 2 fields: Donor Type: Household, Enterprise, Foundation, Government, Partner, Other Donor Name: Full name If donor type= Household-> random full name is ok If...

View Article

Generate datetime values relative to today

How can I use the formula for the filed todays date(inrollment date) current date, please let me know if we ca use formula for this.

View Article


Generate datetime values relative to today

How can I use the formula for the filed todays date(inrollment date) current date, please let me know if we can use formula for this.

View Article

Creating A JSON Object with a Conditionally Undefined Key / Value Pair

First off, I love this tool as it’s been so helpful for me in both professional environments for testing as well as in my own personal projects so thank you so much for creating something so...

View Article


Creating A JSON Object with a Conditionally Undefined Key / Value Pair

I figured it out! There’s a helpful little checkbox that is included called include null values which - when unchecked - removes null values from the return which is exactly what I’m looking for....

View Article

Accessing Previously Declared Key / Value Pairs To Populate A "JSON Array"

Hello again - I’ve got another “stumper”… There is a history key (JSON Array type) in the object that I’m trying to mock which holds two objects. These two objects hold data that is previously found...

View Article

Save schema as a dataset

I believe it is possible. From the schema to be converted, go to the bottom left, on the arrow next to the generate data button. You can save the schema as a dataset there.

View Article
Browsing all 2665 articles
Browse latest View live