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

Added colleague to project. He can see schemas but can't see api's

Hi everyone! First of all, Mockaroo is AMAZING. Absolutely amazing. The one issue I'm running into is the fact that I can add my colleagues to my project (their email is saved in the "Share with"...

View Article


How do I set a sequence field at a specific number using url param

My schema has a field named "id" that is a sequence and I want to set the start number with a url param. Route:GET /Users.json/:start=100&step=1 Handler Script:schema "Users"set "id", start:...

View Article


Cannot upload a CSV to create a Schema

How does one upload a .csv file to create a schema automatically

View Article

Cannot upload a CSV to create a Schema

Hi. A schema created from upload has to be in JSON format. You can upload a CSV as a dataset and use those fields, but it won't generate a schema. I imagine if you have a very clear definition and you...

View Article

Value Range / Foreign key constraint

Hi I am trying to put together a test data suite using your wonderful tool. Therein, i have created a customer master table, and have defined customer IDs. Now, in the transaction dataset, my customer...

View Article


How to date entry with additional condition

Hi, I need to create custom code for Date entry e.g Status = GG,YY,ZZ,XW,HB,TBentry DATE= (Generate entry dates if status = ZZ, HB)Expiration DATE= (expiration date if status =ZZ, HB status)...

View Article

Value Range / Foreign key constraint

Have you selected Dataset Column as the field type? Once you do this you can select for the values to come from a field in that dataset. You can select the distribution - I normally use random, but...

View Article

Value Range / Foreign key constraint

thanks a ton. Didnt realize it was implemented and in such a simple way.works fine for me.

View Article


Image may be NSFW.
Clik here to view.

Value Range / Foreign key constraint

You're welcome

View Article


Need help with below query

Hi, I need help with below query- if field('Status') == "T-3" then date("09/01/2014") end Trying to add Status condition like A-3, B-2 etc.. when tried && or || is not working... Any help...

View Article

Can I import fields from an JSON schema?

Having trouble importing fields from a JSON schema, is this a known issue? { "title": "Person", "type": "object", "properties": { "firstName": { "type": "string" }, "lastName": { "type": "string" },...

View Article

Image may be NSFW.
Clik here to view.

How to replicate data from one field to other?

I have this schema: https://mockaroo.com/9d32c920 And I want to replicate the data in some of the fields in few other fields of a different table. Screenshot below: image.png1474x625 364 KB Is there a...

View Article

How to extract just the date part after adding some days to now()

I have this to generate an end date now() + days(random(10,20))its returning dates as expected 2018-04-18 06:52:10 but including the timeI only want the date portion, how do i exclude the time

View Article


Supported SQL dialects?

Which variations of the SQL dialect are supported when using the option under More in Create Schema ? I've copied + pasted a simple CREATE TABLE statement from SQL Server (T-SQL) and get an error...

View Article

It's possible to add multiline content to json value?

Hi guys, I need to create a json with this content: { "Multiline field": "LOREM IPSUM\r\nDOLOR SIT AMET"} But the document generated escapes backslash with a double backslash, is there a way to avoid...

View Article


Datasets upload via REST API

Is there a solution for this? I feel like this would be a really popular use case.

View Article

Data not generated with double quotes when format is custom and delimiter is |

I tried to setoutput format to customdelimiter to |quote to " however I got the output as below1|Eustacia|Grabert|egrabert0@wikimedia.org|Female|112.175.143.209 what I am expecting is...

View Article


Data not generated with double quotes when format is custom and delimiter is |

Use the template field. I just did a quick test: "{first_name}"|"{last_name}"| returned: "Leta"|"Flawith"| You can use any static values in template if you want certain parts hard-coded.

View Article

Swagger document

I'll put this in as a feature request. Thanks - awesome product!

View Article

Nesting with a random value as parent node?

how do I format a Firebase looking scheme to look like this with the second element as a "generate" firebase uid? { "counselors" : { "-KuUv2rUWFHoizHWx2Gn" : { "bio" : "Lorem ipsum ", "city" :...

View Article
Browsing all 2665 articles
Browse latest View live