How to insert data into mysql using loop back
I'm done loopback and mysql connection, But i don't know how to insert the data in to tables. Can anyone help me?
DB connection
"mysqlds": {
"host": "localhost",
"port": 3306,
"url": "",
"database": "demo",
"password": "root",
"name": "mysqlds",
"user": "root",
"connector": "mysql"
}
Then how to proceed insert data into the corresponding table?
scripts python mysql
add a comment |
I'm done loopback and mysql connection, But i don't know how to insert the data in to tables. Can anyone help me?
DB connection
"mysqlds": {
"host": "localhost",
"port": 3306,
"url": "",
"database": "demo",
"password": "root",
"name": "mysqlds",
"user": "root",
"connector": "mysql"
}
Then how to proceed insert data into the corresponding table?
scripts python mysql
1
Are you asking about the syntax of aninsert … values … into table
SQL statement?
– PerlDuck
Feb 14 at 10:49
I know mysql syntax. But i don't know how to implement into loopback for api.
– Karthick Selvakumar
Feb 14 at 11:08
Can you please edit your question and show how you connect to the DB and what problems you got? Do you use the command line client? Or Perl, Python, C, …? Inserting data into a DB is independent of the connection method and loopback is just another IP address to connect to.
– PerlDuck
Feb 14 at 11:51
Loopback is one of nodejs frameworks, and judging from the posted code this is a typical syntax( see documentation ). This makes more programming specific , hence off-topic
– Sergiy Kolodyazhnyy
Feb 19 at 1:57
I did well connection, but I don't know how to send data webpage to database using loopback....
– Karthick Selvakumar
Feb 20 at 2:23
add a comment |
I'm done loopback and mysql connection, But i don't know how to insert the data in to tables. Can anyone help me?
DB connection
"mysqlds": {
"host": "localhost",
"port": 3306,
"url": "",
"database": "demo",
"password": "root",
"name": "mysqlds",
"user": "root",
"connector": "mysql"
}
Then how to proceed insert data into the corresponding table?
scripts python mysql
I'm done loopback and mysql connection, But i don't know how to insert the data in to tables. Can anyone help me?
DB connection
"mysqlds": {
"host": "localhost",
"port": 3306,
"url": "",
"database": "demo",
"password": "root",
"name": "mysqlds",
"user": "root",
"connector": "mysql"
}
Then how to proceed insert data into the corresponding table?
scripts python mysql
scripts python mysql
edited Feb 14 at 13:02
PerlDuck
7,72611636
7,72611636
asked Feb 14 at 10:15
Karthick SelvakumarKarthick Selvakumar
32
32
1
Are you asking about the syntax of aninsert … values … into table
SQL statement?
– PerlDuck
Feb 14 at 10:49
I know mysql syntax. But i don't know how to implement into loopback for api.
– Karthick Selvakumar
Feb 14 at 11:08
Can you please edit your question and show how you connect to the DB and what problems you got? Do you use the command line client? Or Perl, Python, C, …? Inserting data into a DB is independent of the connection method and loopback is just another IP address to connect to.
– PerlDuck
Feb 14 at 11:51
Loopback is one of nodejs frameworks, and judging from the posted code this is a typical syntax( see documentation ). This makes more programming specific , hence off-topic
– Sergiy Kolodyazhnyy
Feb 19 at 1:57
I did well connection, but I don't know how to send data webpage to database using loopback....
– Karthick Selvakumar
Feb 20 at 2:23
add a comment |
1
Are you asking about the syntax of aninsert … values … into table
SQL statement?
– PerlDuck
Feb 14 at 10:49
I know mysql syntax. But i don't know how to implement into loopback for api.
– Karthick Selvakumar
Feb 14 at 11:08
Can you please edit your question and show how you connect to the DB and what problems you got? Do you use the command line client? Or Perl, Python, C, …? Inserting data into a DB is independent of the connection method and loopback is just another IP address to connect to.
– PerlDuck
Feb 14 at 11:51
Loopback is one of nodejs frameworks, and judging from the posted code this is a typical syntax( see documentation ). This makes more programming specific , hence off-topic
– Sergiy Kolodyazhnyy
Feb 19 at 1:57
I did well connection, but I don't know how to send data webpage to database using loopback....
– Karthick Selvakumar
Feb 20 at 2:23
1
1
Are you asking about the syntax of an
insert … values … into table
SQL statement?– PerlDuck
Feb 14 at 10:49
Are you asking about the syntax of an
insert … values … into table
SQL statement?– PerlDuck
Feb 14 at 10:49
I know mysql syntax. But i don't know how to implement into loopback for api.
– Karthick Selvakumar
Feb 14 at 11:08
I know mysql syntax. But i don't know how to implement into loopback for api.
– Karthick Selvakumar
Feb 14 at 11:08
Can you please edit your question and show how you connect to the DB and what problems you got? Do you use the command line client? Or Perl, Python, C, …? Inserting data into a DB is independent of the connection method and loopback is just another IP address to connect to.
– PerlDuck
Feb 14 at 11:51
Can you please edit your question and show how you connect to the DB and what problems you got? Do you use the command line client? Or Perl, Python, C, …? Inserting data into a DB is independent of the connection method and loopback is just another IP address to connect to.
– PerlDuck
Feb 14 at 11:51
Loopback is one of nodejs frameworks, and judging from the posted code this is a typical syntax( see documentation ). This makes more programming specific , hence off-topic
– Sergiy Kolodyazhnyy
Feb 19 at 1:57
Loopback is one of nodejs frameworks, and judging from the posted code this is a typical syntax( see documentation ). This makes more programming specific , hence off-topic
– Sergiy Kolodyazhnyy
Feb 19 at 1:57
I did well connection, but I don't know how to send data webpage to database using loopback....
– Karthick Selvakumar
Feb 20 at 2:23
I did well connection, but I don't know how to send data webpage to database using loopback....
– Karthick Selvakumar
Feb 20 at 2:23
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118172%2fhow-to-insert-data-into-mysql-using-loop-back%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118172%2fhow-to-insert-data-into-mysql-using-loop-back%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Are you asking about the syntax of an
insert … values … into table
SQL statement?– PerlDuck
Feb 14 at 10:49
I know mysql syntax. But i don't know how to implement into loopback for api.
– Karthick Selvakumar
Feb 14 at 11:08
Can you please edit your question and show how you connect to the DB and what problems you got? Do you use the command line client? Or Perl, Python, C, …? Inserting data into a DB is independent of the connection method and loopback is just another IP address to connect to.
– PerlDuck
Feb 14 at 11:51
Loopback is one of nodejs frameworks, and judging from the posted code this is a typical syntax( see documentation ). This makes more programming specific , hence off-topic
– Sergiy Kolodyazhnyy
Feb 19 at 1:57
I did well connection, but I don't know how to send data webpage to database using loopback....
– Karthick Selvakumar
Feb 20 at 2:23