Explain Codes LogoExplain Codes Logo

Best Articles — Page 13

How to count the number of instances of each foreign-key ID in a table?

sql
join
performance
best-practices

Select Row number in postgres

sql
window-functions
row-number
pagination

Remove inner shadow of text input

html
responsive-design
css
accessibility

Hibernate throws MultipleBagFetchException - cannot simultaneously fetch multiple bags

java
hibernate-exception
fetch-strategy
lazy-loading

How can I do relative imports in Python?

python
relative-imports
python-modules
package-structure

How to insert an empty line to SQL table?

sql
database-management
data-insertion
sql-commands

How to iterate (keys, values) in JavaScript?

javascript
iterating
object-entries
map-objects

How to get the next auto-increment ID in MySQL

sql
best-practices
data-integrity
sql-injection

How to re-import an updated package while in Python Interpreter?

python
importlib
module-reloading
python-advanced

Setting table row height

html
responsive-design
css-reset
responsive-design

Child inside parent with min-height: 100% not inheriting height

html
responsive-design
css-grid
flexbox

Seeking useful Eclipse Java code templates

java
prompt-engineering
best-practices
tools

What is the HTML for="" attribute in ?

html
accessibility
form-design
web-development

Case-insensitive search

javascript
regex
case-insensitive-search
string-manipulation

How to Convert List to String

python
list-conversions
string-conversions
pythonic-code

How to print a date in a regular format?

python
date-formatting
datetime-module
string-formatting

Get all object attributes in Python?

python
object-attributes
python-attributes
getattr

What is the equivalent of Java static methods in Kotlin?

java
kotlin-static-methods
java-interoperability
kotlin-features

What can I do about "ImportError: Cannot import name X" or "AttributeError: ... (most likely due to a circular import)"?

python
circular-dependencies
import-best-practices
module-design

Get the closest number out of an array

javascript
functions
currying
promises