Giter VIP home page Giter VIP logo

inmemory-db's Introduction

Gabi's Profile

Gabi

Hi I am Gabi, I also go by Gabriela D'Ávila Ferrara, Gabriela Ferrara or Gabriela D'Ávila.

My pronoun is she/her, but I am also comfortable with they/them.

I work as a Developer Advocate for Google Cloud and have past experiences as a Data Engineer and Software Engineer. I LOVE SQL

Where I write

I usually try to write at gabi.dev or medium.com/@gabidavila. Sometimes I can get fancy and appear at the Google Cloud blog, but those no one reads ;)

I can also be found at:

Resources

You can find links of my talks on this Youtube Playlist: Talks and slides on SlideShare

Projects

Office Hours

I have Office Hours to talk about Google Cloud and Databases. You can find my schedule here: gabi.tips/office-hours.

Congress Who Is?

It's a Civic Tech project that needs a bit of updating, let me know if you want to help congresswhois.com.

React USA Map - a US Map without using D3

This one I REALLY NEED HELP, I don't keep up to date to React anymore, and there are tons of requests of people asking for new features and I simply don't have the bandwith to help them, please contact me if you are interested: react-usa-map

inmemory-db's People

Contributors

gabidavila avatar

Watchers

 avatar

inmemory-db's Issues

List Available Keys

Lists all available keys used in memory

Input:
LIST

Return

  • name
  • address
  • a

Return sizes

Return the size of the stored items:

  • COUNT returns the number of keys used currently
  • DBSIZE returns the size of the current storage
INPUT OUTPUT
COUNT 1000
DBSIZE 0.12B

Add Transactions

Transaction Commands

  • BEGIN – Open a new transaction block. Transaction blocks can be nested; a BEGIN can be issued inside of an existing block.

  • ROLLBACK – Undo all of the commands issued in the most recent transaction block, and close the block. Print nothing if successful, or print NO TRANSACTION if no transaction is in progress.

  • COMMIT – Close all open transaction blocks, permanently applying the changes made in them. Print nothing if successful, or print NO TRANSACTION if no transaction is in progress.

Example:

INPUT OUTPUT
BEGIN
SET a 10
GET a 10
BEGIN
SET a 20
GET a 20
ROLLBACK
GET a 10
ROLLBACK
GET a NULL
END
INPUT OUTPUT
BEGIN
SET a 30
BEGIN
SET a 40
COMMIT
GET a 40
ROLLBACK NO TRANSACTION
END
INPUT OUTPUT
SET a 50
BEGIN
GET a 50
SET a 60
BEGIN
UNSET a
GET a NULL
ROLLBACK
GET a 60
COMMIT
GET a 60
END
INPUT OUTPUT
SET a 10
BEGIN
NUMEQUALTO 10 1
BEGIN
UNSET a
NUMEQUALTO 10 0
ROLLBACK
NUMEQUALTO 10 1
COMMIT
END

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.