This is the problem I encountered in mongodb project. The original code is as follows:
running result:
the modified code is nested with quotation marks:
running result:
mysql database view data, as shown in the following figure:
successfully insert data. I wish everyone a smooth solution, I wish you success!!
Read More:
- [Solved] ERROR 1054 (42S22): Unknown column ‘password‘ in ‘field list‘
- ERROR 1054(42S22) Unknown column ‘password’ in ‘field list’ (Fixed)
- [Solved] Daily further: database error: unknown column ‘model’ in ‘field list‘
- [Solved]Error 1054 (42s22): unknown column ‘password’ in ‘field list’ how to modify the password
- Mysql5.7.18.1 Error 1054 (42S22): Unknown Column’password’ In’field List’ When Changing User Password
- [Solved] pymysql.err.ProgrammingError: (1064, ‘You have an error in your SQL syntax;
- [Solved] sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1064, “You have an error in your SQ
- pymysql Error: File “/usr/local/lib/python2.7/site-packages/PyMySQL-1.0.2-py2.7.egg/pymysql/connections.py”, line 167 SyntaxError: invalid syntax
- [Solved] pymysql.err.OperationalError: (1045, “Access denied for user ‘root‘@‘192.168.118.44‘
- [Solved] Sequelize DatabaseError: ER_WRONG_FIELD_WITH_GROUP: Expression #2 of SELECT list is not in GROUP
- [MySQL] The principle of group by aggregation function and the reason for aggregation limitation SELECT list is not in GROUP BY clause and contains nonaggregated column
- Error 1406 (22001) in MySQL: data too long for column (Fixed)
- Solve ERROR 1136 (21S01) in Mysql: Column count doesn’t match value count at row 1
- [Solved] MySQL Error: “Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre”
- [Solved] ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregate
- postgresql-Database query problem-ERROR: column “t.domainid“ must appear in the GROUP BY clause or be used in an a
- Mybatis Add Datas error: ERROR: Field * doesn‘t have a default value
- How to Solve “Out of range value for column” Error
- [Solved] mysqli::__construct(): Server sent charset (255) unknown to the client. Please, report to the developers in
- Mysql Script Error Code: 1136. Column count doesn’t match value count at row 1