Giter Club home page Giter Club logo

Comments (7)

victorteokw avatar victorteokw commented on August 26, 2024

Hi @w113st, What is BigQuery?

from teo.

victorteokw avatar victorteokw commented on August 26, 2024

@w113st, could you please star this repo? Thanks

from teo.

victorteokw avatar victorteokw commented on August 26, 2024

@w113st, Is it a database? Are you familiar with Teo? How do you think to support it?

from teo.

w113st avatar w113st commented on August 26, 2024

Hi Victor, it's Google's relational database that supports geoqueries. 10 GiB of data is free. You can use node package like this:

const {BigQuery} = require('@google-cloud/bigquery');
const bigquery = new BigQuery();

async function queryWithPagination(pageNumber, resultsPerPage) {
  const query = `
    SELECT *
    FROM your_table
    ORDER BY some_column
    LIMIT @resultsPerPage
    OFFSET @offset
  `;

  const options = {
    query: query,
    params: {resultsPerPage, offset: (pageNumber -  1) * resultsPerPage},
    location: 'US',
  };

  const [rows] = await bigquery.query(options);
  return rows;
}

There's a local emulator you can use for testing:
https://github.com/goccy/bigquery-emulator

from teo.

victorteokw avatar victorteokw commented on August 26, 2024

@w113st, I think in the future, Cassandra and BigQuery will be supported. The current SQL connector cannot support BigQuery.

from teo.

w113st avatar w113st commented on August 26, 2024

Ok sure thank you. I will keep following your work after GraphQL Joker

from teo.

victorteokw avatar victorteokw commented on August 26, 2024

Thanks @w113st

from teo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.