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

Dates Manipulation

I have two fields job.start and job.end. I need that the job.end is grater than job.start by milliseconds or few seconds. I tried to create a formula field in job.end with "#{job.start}" to see if I...

View Article


Dates Manipulation

In the job.end set it to type formula with field('job.start') + seconds(random(1,59)) + days(random(1,30)) + month(random(1,12)) + year(random(1,8))

View Article


Save schema as a dataset

The quickest way I have found is to create a dataset via uploading dummy file (with 1 column and 1 row) then create you schema and use the Append data: option

View Article

Dataset lookup Error evaluating from_dataset

I think the problem in from_dataset("Program","Program Spend", Program Name: Program Name)is the "Program Name: Program Name" parttry changing the dataset column to a different name...

View Article

Image may be NSFW.
Clik here to view.

Picking specific values from dataset

Thanks for the reply, i tried to put a field (type row number) in People called "r".Then in the schema Teacher i've put the id_teacher (type dataset) and an hidden field called "__row".In the formula...

View Article


Image may be NSFW.
Clik here to view.

Dataset lookup Error evaluating from_dataset

I'm having the same problem, tried as you suggested to use different names as you can see, but it says "field __row_acq not found".I also swapped the order in the join criteria of the formula without...

View Article

Save schema as a dataset

Thanks for the reply. That did not work for me. What I am really suggesting is a feature request. Here is why. When using Mockaroo to create a test database, one has to ensure primary/foreign key...

View Article

How do I fake compound/ nested data?

HiHow do you create nested data such as below, as where I would want to bind it to (https://demos.telerik.com/kendo-ui/treeview/remote-data-binding) a tree view and I want to fake compound data. {...

View Article


SQL Expression interpreted as text value

We know sql is the most modern technique for data searching or data recovery in database system.I faced the same SQL problem. Sometimes technical issue would be occur and lost all data from hard...

View Article


Picking specific values from dataset

It looks like you have the criteria the wrong way round I have done the below if field('__row')<=10 then fromdataset("Teacher", "first_name", id_teacher: __row) else fromdataset("Seller",...

View Article

Dataset lookup Error evaluating from_dataset

_rowacq has to be before the formulaand (dataset_id: schema_id)

View Article

Image may be NSFW.
Clik here to view.

Dataset lookup Error evaluating from_dataset

There is any way to use hidden field in the criteria of the formula?Because i need to count the touples of "Persona" to compute the value of other field in different schemas, but i don't want to have...

View Article

Dataset lookup Error evaluating from_dataset

Sorry I don't understand what you are trying to do here? from_dataset("Persona","cf", dataset_id: _rowacq)

View Article


Formula to get multiple values from a dataset seperated by semicolon

I think you can use something like this one https://www.mockaroo.com/e18afb50

View Article

Dataset lookup Error evaluating from_dataset

Sorry for my english, i'm trying to pick the fields ("cf") from persona, where row_persona is equal to row_acq.These last two fields are hidden (not visible due to the double underscore), i need them...

View Article


Dataset lookup Error evaluating from_dataset

Have you tried renaming the column in the dataset from __row_persona to row_persona the dataset column does not need to be hidden so the formula can be "from_dataset("persona","cf", row_persona:...

View Article

Dataset lookup Error evaluating from_dataset

I'm marking as solved, i confirm that the dataset column can't be hidden to evaluate it in the formula.

View Article


Image may be NSFW.
Clik here to view.

Picking specific values from dataset

Solved, i just want to include a link to another related topic where other users can find extra exemples Dataset lookup Error evaluating from_dataset Hi guys, I really can't get past this. My scenario...

View Article

Adding random days between two dates, without time

I'm having the same issue. I start with a DD/MM/YYYY and when i use days() it is outputting it as YYYY/MM/DD plus a TIMESTAMP and sometimes a timezone... like UTC.

View Article

Date format changes with date() function

Functions date() and ().to_date change the format of the dates.I'm fetching some dates from a dataset (with the function from_dataset()) and casting them with date(...) because i need to add some days...

View Article
Browsing all 2665 articles
Browse latest View live