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

Image may be NSFW.
Clik here to view.

Arrays empty when exporting CSV from Schema

I found that all the csv files i exported from schemas has empty fields where i used arrays.Am i doing something wrong? email.jpg800x600 18.9 KB

View Article


Date compariosn

how can i do date comparison between two dates ?

View Article


Creating a nested array of objects from a sample schema

Is it possible to create a schema that includes in its definition a relationship to another schema? In other words, in this field on schema 1, load an array of json objects based on schema 2. In my...

View Article

Date format changes when using formula

When I use your suggestion, I still get "$date":"2017-06-06 12:00:00 UTC" and I need "$date":"2017-06-06T12:00:00Z" I also need to add 30 seconds to each new row. I tried using your suggestion but the...

View Article

Datasets upload via REST API

Upvote. I'd like to do a similar thing so that i can script the generation of new interlinked datasets. something likecurl "https://api.mockaroo.com/api/xytyaz?count=20&key=1234" >...

View Article


Unable to use logic operators ("Access denied to method")

Hi,I tried your solution . unfortunately its not working .Can you please let me know about it? error: Access denied to method >.formula: if field("reason") > '2000' then 'yesy' else 'no' end

View Article

Error: Access denied to method >. while generating the dataset

Hi , I am getting a error "error: Access denied to method >." while trying to generate the dataset. I am using the formula : if this > 2000 then 'yesy' else 'no' end Please let me know how to...

View Article

Unable to use logic operators ("Access denied to method")

I'm guessing reason is something other than a number. You can cast it to a number using the to_i (integer) or to_f (float) methods. For example: if reason.to_i > 2000 then 'yes' else 'no' end

View Article


Creating a nested array of objects from a sample schema

Yes you can, using the new APIs feature. For example, you can create an API with the following handler script: # Generate 10 users schema "Users" users = generate 10 # switch to the Groups schema...

View Article


Arrays empty when exporting CSV from Schema

Arrays are only supported when outputting JSON and XML formats.

View Article

Date compariosn

You can use all of the normal comparison operators: >, <, <=, >=. There was a bug with that, but it's fixed now.

View Article

Unable to use logic operators ("Access denied to method")

It worked . Thanks a lot for your help. Much appreciated

View Article

Date format changes when using formula

Yeah, there is something funny going on with date arithmetic and the mongoDB format. This formula should get the job done, though: { "$date" => (this.raw +...

View Article


Full name repeating %

Is there a way to get repetitive phone numbers (for eg : I need 10 phone numbers to be repeated 20 times ) while downloading the data itself rather than uploading a dataset with frequency field?...

View Article

Full name repeating %

You can use a Custom List field with either a sequential or custom distribution.

View Article


Full name repeating %

Can you please explain more? How to use Custom List field with either a sequential or custom distribution?

View Article

Full name repeating %

See http://mockaroo.com/759da9d0 Here I use a list of 10 phone numbers with the sequential distribution to generate 200 rows of data. When you use the sequential distribution, it iterates through the...

View Article


Full name repeating %

Thanks it works, but unfortunately country code for this particular phone number does not match when I use custom list. for eg: phone number = + 44 465 165 3879 country code is supposed to be GB , but...

View Article

Full name repeating %

Custom List just uses the values you give it. So one of the values must be wrong.

View Article

Full name repeating %

I am using columns "country code", "state code" ,"phone number" . The country and state code must reflect values respective to phone number. But the correct values in the country and state code are...

View Article
Browsing all 2665 articles
Browse latest View live