Giter VIP home page Giter VIP logo

doteur's Introduction

struct Profile {
  pub firstname: String,
  pub age: u8,
  pub from: String,
  pub favorite_languages : Vec<String>,
  pub speaks: Vec<String>,
  pub is_active: bool,
  pub contact: String,
}

let me = Profile {
  firstname : "Loรฏc",
  age: 26,
  from: "Paris ๐Ÿ—ผ, France๐Ÿ‡ซ๐Ÿ‡ท".into(),
  favorite_languages: vec!["Rust ๐Ÿฆ€".into(), "Java โ˜•".into(), "Python ๐Ÿ".into(), "Javascript".into()],
  speaks: vec!["French ๐Ÿ‡ซ๐Ÿ‡ท".into(), "English ๐Ÿด๓ ง๓ ข๓ ฅ๓ ฎ๓ ง๓ ฟ".into(), "German ๐Ÿ‡ฉ๐Ÿ‡ช".into()],
  is_active: true
};

I just enjoy doing IT projects on my spare time, whatever the topic is. I try to make them open-source and deliver quality code that can be used by other developers, the way I sometimes inspire myself from existing projects.

I mostly work with Java and Javascript in my professional environment, however I prefer working with Rust in my spare time, hence why my profile mostly contains Rust projects.

Check out my most complete and best documented projects if you have some time ๐Ÿ˜Š :

  • verbihr : A tool to learn german verbs ๐Ÿ“˜
  • texas-snake : A simple Snake game running in the browser, playable here.
  • tchatche.rs : A chat web application based on axum, yew.rs, tailwind, nginx, postgres and redis.
  • doteur : A database schema renderer, based in Rust.
  • rat-rs : A lightweight yet powerful CLI schedule fetcher for IDF (Paris region) common transportation.
  • mptvfr : An android application written on Dart with purpose to get the TV schedule without any - annoying - ads.

doteur's People

Contributors

3x0dv5 avatar nag763 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

doteur's Issues

`doteur` panics if table-name is wrapped by double-quotations

Describe the bug
A clear and concise description of what the bug is.
doteur can successfully compile the following command:

``` test.sql
CREATE TABLE my_table_name ( ... );
```

but the following will throw an error:

``` test.sql
CREATE TABLE "my_table_name" ( ... );
```

doteur, however, does NOT panic if column-names are wrapped in double-quotations.
i.e., doteur will successfully compile the following (even though the column-name is wrapped in double-quotations):

``` test.sql
CREATE TABLE my_table_name (
    "my_column" INT
);
```

It seems that the panic only happens when the TABLE-NAME is wrapped in double-quotes...

To Reproduce
Steps to reproduce the behavior:

  1. create a test.sql file
  2. write:
    CREATE TABLE "my_table_name" ( "id" INT );
  3. the above will fail, but if you change it to:
    CREATE TABLE my_table_name ( "id" INT );
    if will compile and produce an output

Expected behavior
doteur should not panic if a table-name is wrapped with double-quotations.

Desktop (please complete the following information):

  • OS: macOS

Alter table not understood

Description

Alter table ADD COLUMN not understood correctly, tries to be parsed as a relation

ie

ALTER TABLE CHATTER
ADD COLUMN tz_name VARCHAR NOT NULL DEFAULT 'Europe/London',
ADD COLUMN tz_offset BIGINT NOT NULL DEFAULT 0;

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.