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

示例参数不足? #11

Open
SilvaXiang opened this issue Jun 29, 2021 · 5 comments
Open

示例参数不足? #11

SilvaXiang opened this issue Jun 29, 2021 · 5 comments

Comments

@SilvaXiang
Copy link

image
看源码LoadSchema函数也是有两个参数,所以这个地方是不是写错了呢

@oraluben
Copy link

oraluben commented Jul 2, 2021

Hi, the readme might be obsolete. Do you aim to generate SQL queries?

@herunkang2018
Copy link

I also have this problem, could anyone help to upadte readme?

@oraluben
Copy link

Index: README.md
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/README.md b/README.md
--- a/README.md	(revision 403033efad4597ed3f0d9dba472677ec310e4a0b)
+++ b/README.md	(date 1684483844707)
@@ -23,7 +23,7 @@
 		[5]string{"games", "teams", "BASE TABLE", "id", "int(11)"},
 		[5]string{"games", "teams", "BASE TABLE", "team_name", "varchar(255)"},
 		[5]string{"games", "teams", "BASE TABLE", "created_at", "timestamp"},
-	})
+	}, make(map[string][]string))
 
 	// use games database
 	ss.SetDB("games")

@herunkang2018
Copy link

@oraluben thanks for your example, would like to create a PR to fix it?

@oraluben
Copy link

@oraluben thanks for your example, would like to create a PR to fix it?

I don't have plan for that. Feel free to submit PR based on the patch. I'd also recommend you to try https://github.com/sqlancer/sqlancer.

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

3 participants