Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

reserved-words

What is the “no” keyword used for in MySQL?

November 26, 2022 by Magenaut

I just randomly found out that “no” is a reserved word/keyword in Mysql.

Categories MySQL, Q&A Tags mysql, reserved-words Leave a comment

Syntax error due to using a reserved word as a table or column name in MySQL

November 24, 2022 by Magenaut

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key) VALUES ('Tim', 'Florida', 42)' at line 1

Categories MySQL, Q&A Tags mysql, reserved-words Leave a comment

MySQL, safely using reserved word in query

November 16, 2022 by Magenaut

I need to return a multidimensional array from a query with the id keys named key. (needed for object keys in amazon S3 API) example: Array ( [0] => Array ( [key] => 8 ) [1] => Array ( [key] => 7 ) [2] => Array ( [key] => 6 ) ) The problem: key … Read more

Categories MySQL, Q&A Tags mysql, php, reserved-words Leave a comment

Reserved column names in Eloquent

September 16, 2022 by Magenaut

From a cursory look into IlluminateDatabaseEloquentModel I can see the following instance attributes:

Categories Laravel, Q&A Tags eloquent, laravel, laravel-5, laravel-5.2, reserved-words Leave a comment

Is it bad practice to use a built-in function name as an attribute or method identifier?

August 15, 2022 by Magenaut

I know to never use built-in function names as variable identifiers.

Categories Python, Q&A Tags namespaces, naming-conventions, python, python-3.x, reserved-words Leave a comment

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress