-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
189 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
mod migration; | ||
use migration::generate_embedded_migrations; | ||
use proc_macro::TokenStream; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use std::time::Duration; | ||
|
||
use crate::{AlienVisitsPlanet, Planet, Rocket, SpaceShip, Weapon}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
// use super::studentwithgranularattributes; | ||
use serde::{Deserialize, Serialize}; | ||
use std::time::Duration; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
#![allow(dead_code)] | ||
#![allow(non_upper_case_globals)] | ||
#![allow(non_snake_case)] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use std::fmt::Display; | ||
|
||
use serde::{Deserialize, Serialize}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
pub mod alien; | ||
pub mod attributes; | ||
pub mod combined; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use chrono::{DateTime, Utc}; | ||
use serde::{Deserialize, Serialize}; | ||
use surreal_orm::{Node, SurrealSimpleId}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use chrono::{DateTime, Utc}; | ||
use serde::{Deserialize, Serialize}; | ||
use surreal_orm::{Model, Node, SurrealId}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use std::time::Duration; | ||
|
||
use chrono::{DateTime, Utc}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use chrono::{DateTime, Utc}; | ||
use serde::{Deserialize, Serialize}; | ||
use surreal_orm::{Node, Object, SurrealId, SurrealSimpleId}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use proc_macro2::{Span, TokenStream, TokenTree}; | ||
use proc_macro_crate::{crate_name, FoundCrate}; | ||
use quote::quote; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use proc_macro::TokenStream; | ||
use surreal_query_builder::sql; | ||
use syn::{parse_macro_input, LitStr}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use proc_macro::TokenStream; | ||
use syn::parse_macro_input; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
pub(crate) mod block; | ||
pub(crate) mod query_turbo; | ||
pub(crate) mod tokenizer; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use proc_macro::TokenStream; | ||
use syn::parse_macro_input; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use crate::statement_parser::query_chain::{GeneratedCode, QueriesChainParser}; | ||
use proc_macros_helpers::get_crate_name; | ||
use quote::quote; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use proc_macro::TokenStream; | ||
use syn::parse_macro_input; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use std::fmt::Display; | ||
|
||
use proc_macro::TokenStream; | ||
|
141 changes: 0 additions & 141 deletions
141
query-builder-macros/src/statement_parser/define_funtion.rs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use proc_macro::TokenStream; | ||
use proc_macros_helpers::get_crate_name; | ||
use quote::{quote, ToTokens}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use convert_case::{Case, Casing}; | ||
use proc_macros_helpers::get_crate_name; | ||
use quote::format_ident; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use proc_macro::TokenStream; | ||
use proc_macros_helpers::get_crate_name; | ||
use quote::{quote, ToTokens}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
use super::return_::ReturnExpr; | ||
use syn::{ | ||
parse::{Parse, ParseStream}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
/* | ||
* Author: Oyelowo Oyedayo | ||
* Email: [email protected] | ||
* Copyright (c) 2023 Oyelowo Oyedayo | ||
* Licensed under the MIT license | ||
*/ | ||
|
||
pub mod define_function; | ||
pub mod for_; | ||
pub mod helpers; | ||
|
Oops, something went wrong.