We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i try to a insert a simple row using createQueryBuilder
await connection.createQueryBuilder() .insert() .into(User) .values( [ { wallet_account_public_key: "stringstring", name: "stringstring", joined_date: newEpoch(), roles: [] } ] ) .execute();
this query only doesnt work in the seed class impemention Seeder inside the run function
but when i do this query, its work
await connection.createQueryBuilder() .insert() .into(Role) .values( [ { name: "normal" }, { name: "admin" }, { name: "superadmin" } ] ).execute();
idk why but its very very very weird
The text was updated successfully, but these errors were encountered:
I guess deprecated Connection makes this error
using with factory it does not make any error, but with connection make this error
ex) connection .createQueryBuilder() .insert() .into(Topic) .values(topics) .execute();
connection .createQueryBuilder() .insert() .into(Topic) .values(topics) .execute();
but const topics = await factory(Topic)().createMany(10);
const topics = await factory(Topic)().createMany(10);
this one dose not make any error for me
Sorry, something went wrong.
No branches or pull requests
i try to a insert a simple row using createQueryBuilder
await connection.createQueryBuilder() .insert() .into(User) .values( [ { wallet_account_public_key: "stringstring", name: "stringstring", joined_date: newEpoch(), roles: [] } ] ) .execute();
this query only doesnt work in the seed class impemention Seeder inside the run function
but when i do this query, its work
await connection.createQueryBuilder() .insert() .into(Role) .values( [ { name: "normal" }, { name: "admin" }, { name: "superadmin" } ] ).execute();
idk why but its very very very weird
The text was updated successfully, but these errors were encountered: