User column definitions
It would be very useful to be able to define column types that have their own set of rules/formulae and to be able use them across several schemas so that changes in the base definition could be...
View ArticleUsing and comparing date data types
I'm not sure what data type now() returns. If I have a field with formula now() + days(10) it returns a date But if I declare date2 as a date field and use it like this:[date2,now()].min I get,...
View ArticleRandom test data for the format shown in the description
Hello Can i have something similar to the below 10.1002/2014JB011616/ 10.1002/(ISSN)2169-9356/ i need to have different value and have to generate 1000's of test data.how to do that and which should i...
View ArticleRandom test data for the format shown in the description
Is this any use? http://www.mockaroo.com/939135b0 I use random to control the distribution of which format appears - if it's a choice of two: if random(0,1) == 0 then __p1 else __p2 + __p3 end I...
View ArticleUnable to get the desired number of data points with a POST request
I have a url of the following format wherein I'm setting the count to 100 for corresponding number of records:...
View ArticleUnable to get the desired number of data points with a POST request
Can you replicate it by forking this jsfiddle? That would be very helpful. http://jsfiddle.net/vmgpycg5/
View ArticleUsing and comparing date data types
Looks like something that could be improved, but for now you can access the underlying Time value via "date2.raw" So for example, the following should work: [date2.raw, now()].min
View ArticleUnable to get the desired number of data points with a POST request
I couldn't replicate the issue in jsfiddle. However, I forgot to mention that I'm using java in my code.
View ArticleUnable to get the desired number of data points with a POST request
It must be the way that you're specifying the URL query parameters. Assuming the URL is constructed properly it should work. I suggest double-checking the URL in a debugger.
View ArticleRegEx parentheses
I can't see how to get parentheses to appear in the RegEx.... Or is there a generic way to insert an arbitrary ANSI character code (e.g. \41)?
View ArticleRegEx parentheses
I don't think there is a way. I can add something like [:oparen:] and [:cparen:] later this week. In the meantime can you add them with an inline formula (the f(x) button)?
View ArticleMake copies of an entry in a JSON Array for other JSON Arrays
In my schema I have 5 'JSON Arrays', each with different fields, with all of the arrays needing to have the same ID as the first field. I generate a random ID for the first field in the first array,...
View ArticleMake copies of an entry in a JSON Array for other JSON Arrays
You could use a formula to reference an id field outside of the arrays. Here is an example: http://mockaroo.com/1def1210. You can change the name of the id field to "__id" if you don't want to include...
View ArticleMake copies of an entry in a JSON Array for other JSON Arrays
Thanks for the quick and easy response!
View ArticleMake copies of an entry in a JSON Array for other JSON Arrays
One quick follow up, using the same schema above. The types 'Street Number' and 'Street Address' don't correlate. I use one in one array and the other in another, and I want them to be the same. I'm...
View ArticleMake copies of an entry in a JSON Array for other JSON Arrays
You can use a formula: street_address.split(' ').first
View ArticleRemove - or / from date
I tried using inline formatting with this.gsub(/[-]/,'') to remove the "-" from a date generated with the Date type and I received an error saying "error: Could not access blank value: Use || to...
View ArticleRemove - or / from date
I think you need a backslash in front of the dash. A dash in brackets indicates a range so it needs to be escaped.
View ArticleRemove - or / from date
Unless I misunderstood, this didn't seem to work. I'm actually using the same exact formula in-line with the SSN type and it works beautifully. The error I am getting referrs to accessing a blank...
View Article