Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support DDL Queries #77

Closed
jeffrey-igaw opened this issue May 17, 2018 · 2 comments
Closed

Support DDL Queries #77

jeffrey-igaw opened this issue May 17, 2018 · 2 comments

Comments

@jeffrey-igaw
Copy link

jeffrey-igaw commented May 17, 2018

Hi, i think this is really i want, about building flexible query.

But could you provide ddl query interface in future or can i contribute for that?

Below example is maybe expected that is my want to use ;)

var createTableQuery = new Query(connection)
   .CreateTable("table_name")
   .WithField("id", Field.long)
   .WithField("field_name", Field.Int)
   .WithField("field_name_2", Field.Varchar, 100)
   .WithForeignKey("fk_id", "target_table", Field.Int)
   .WithPkConstant("id" /* or with multiple columns" */);

thanks for your work!

@ahmad-moussawi
Copy link
Contributor

Thanks Jeff, currently there is no near plan to support this, since my priorities are to release a stable version soon, then supporting Sqlite, SqlServer 2012+ and Oracle Compilers,
Off course your contribution is welcomed, we may discuss the api a bit if you decided that 👍

@ahmad-moussawi
Copy link
Contributor

closing for now, feel free to reopen this later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants