Questions tagged [slamdata]

SlamData is an open source project that lets you run SQL queries on MongoDB.

SlamData is an open source project that lets you run SQL queries on MongoDB, and build interactive reports that can be embedded anywhere

30 questions
4
votes
3 answers

Failed at chromedriver installation

I'm going to install slamdata on debian Jessie, as described here, but I failed at npm install section and it wanted to install chromedriver. I even tried a mirror of chromedriver. Here is logs. exec@mob-db1:/opt/slamdata$ npm install npm WARN…
IAmAliYousefi
  • 1,132
  • 3
  • 21
  • 33
3
votes
0 answers

How to invoke scala method containing functional parmeter in java?

env: java:1.8.0_201 scala:2.11.8 IDE: IntelliJ IDEA 2018.3.5 (Ultimate Edition) (Build #IU-183.5912.21) Intellij Scala plugin:V2018.3.6 I have a class method like this class ScalaA { def cal(op: () => String): String = { op.apply() …
刘思凡
  • 423
  • 2
  • 14
2
votes
2 answers

lambda groupingBy Object returns complex JSON

Recently started using the lambda in Java. Map lMap = rptData.stream().collect(Collectors.groupingBy(Expense::getCategory, Collectors.summingDouble(j -> j.getFltAmt().doubleValue()))); The above code returns map, which…
Shamseer
  • 682
  • 1
  • 11
  • 24
1
vote
1 answer

iOS ARKit saving map across multiple sessions

I am developing an app using iOS ARKit which has launched recently. I have a question if map and data that has been added can be extended to multiple sessions. I am adding UI elements on top of map data, however if I close the app and open it…
Venkatesh
  • 3,558
  • 8
  • 32
  • 38
1
vote
0 answers

How to reference query results from multiple SlamData queries?

In trying to chart MongoDB data with SlamData my data is such that I need multiple SQL2 queries in order to get it into the format I need for my chart, so my cards currently look like; My MongoDB Collection > Query1 > Preview Table > Query1 >…
bicster
  • 740
  • 3
  • 9
  • 18
1
vote
0 answers

Slamdata Error when using variable in 3 level chained markdown : There is no binding for the variable

Slamdata Vesion : 4.1.1 There are 3 decks. Each has set up markdown and show markdown cards used in it. Variables set in deck 1 accessible and working fine in deck 2 (a mirror of deck 1) Additional variable created in deck 2 . Show markdown card…
Abd
  • 11
  • 2
1
vote
2 answers

SlamData DATE_PART

Is there any way to tell SlamData that a week starts on Monday (as it does in Germany)? Want to GROUP BY DATE_PART("week", c.createdAt) which is always wrong as SlamData's week start a day earlier than ours. In some Database systems you can "SET…
1
vote
2 answers

Slamdata: how to find cumulative sum based on the date

i have used the query function in SlamData. My code: SELECT DATE_PART("year",thedate) AS year,DATE_PART("month",thedate) AS month, SUM(runningPnL) AS PnL FROM "/Mickey/testdb/sampledata3" AS c GROUP BY DATE_PART("year", thedate)…
Mickey Lau
  • 19
  • 1
1
vote
1 answer

SlamData install Linux

does anyone know how to install SlamData on linux? I've download the file on my machine, and double click it, but it opens a green screen and nothing happens. Thanks.
1
vote
1 answer

SlamData: embed query result into markdown

I'm trying to embed query result into markdown I see in the reference possibility to embed a query into markdown using !`SELECT COUNT(*) FROM “/col”` However this does not work for me! I just receive the SELECT text in red color (like embedding…
Pavel Bernshtam
  • 4,232
  • 8
  • 38
  • 62
0
votes
0 answers

How to find smtp sendmail response

Is that possible to get a response from following method. Either any way to see to_email is a valid one smtpObj.sendmail(sender, receivers, message)
0
votes
1 answer

Netlify Page Not Found Error (Not able to deploy serverless express backend to NETLIFY)

Can anyone help me to deploy ExpressJS on netlify ????? Source Code Link: https://github.com/Kashif852/0067-server2 Netlify Deployed Page link which showing page not found error: https://vigorous-einstein-a3f15a.netlify.app/
0
votes
1 answer

Cannot create property 'and_ff' on string 'and_chr 89'"

Having trouble with Lambda function, Receive an error but I don't get same error if i run same code within an express app. I'm not Data returned by caniuse.getLatestStableBrowsers(); [ 'and_chr 89', 'and_ff 86', 'and_qq 10.4', …
0
votes
2 answers

Want to display a maximum of 5 thumbnails

Want to show max 5 images in a thumbnails. But It print all images it have. @foreach (var orderline in order.OrderLines.DistinctBy(ol => ol.imageURL)) { @(orderline.Listing.Title.Length > 15 ?…</div>
        <div class=
S.Rusdana
  • 249
  • 1
  • 2
  • 12
0
votes
0 answers

C# String convert to lamda expression

I'm dealing with a method to query web elements. and I want let users to choose which kind of elements They are want to choose. So I have Following code: public static List getItemsByType(IWebDriver driver, string typename,…
1
2