Skip to content

Commit 2e2fecd

Browse files
committed
cleanup / cross ref
1 parent 05ac4f6 commit 2e2fecd

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

docs/03.reference/01.functions/structkeyexists/function.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ title: StructKeyExists
33
id: function-structkeyexists
44
related:
55
- function-sessionexists
6+
- null_support
67
categories:
78
- struct
89
---
910

1011
Determines whether a specific key is present in a structure.
11-
**Note:** When a struct's key contains a NULL as a value, Lucee's Null Support setting affects the outcome.
12-
When Null Support is **false**, if a key DOES exist, and it has a NULL as a value, it will return **false**.
13-
When Null Support is **true**, if a key DOES exist, and it has a NULL as a value, it will return **true**.
12+
13+
In CFML, by default, this will return `false` for any keys with a `null` value, however, if Full Null Support is enabled, it will return `true`.
14+
15+
[[null_support]]

docs/recipes/database-connection-management.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
"related": [
1919
"cfconfig",
2020
"cftransaction",
21-
"datasource-configuration"
21+
"datasource-configuration",
22+
"tag-query",
23+
"function-dbpoolevict"
2224
]
2325
}
2426
-->
@@ -93,8 +95,8 @@ this.datasources["mydb"] = {
9395
}
9496
```
9597

96-
9798
**Characteristics**:
99+
98100
- Maximum connection reuse across requests
99101
- Optimal performance for stateless queries
100102
- Connection state is not guaranteed between queries
@@ -148,7 +150,6 @@ this.datasources["stateful_db"] = {
148150
}
149151
```
150152

151-
152153
**When to Use Exclusive Connections**:
153154

154155
1. **Session Variables**: When using MySQL session variables that need to persist across queries
@@ -346,11 +347,13 @@ for (var dsName in datasources) {
346347
**Symptoms**: Requests timeout waiting for connections
347348

348349
**Causes**:
350+
349351
- Too many exclusive connections enabled
350352
- Long-running transactions holding connections
351353
- Connection leaks (connections not properly returned)
352354

353355
**Solutions**:
356+
354357
```javascript
355358
// Increase pool size if needed
356359
this.datasources["mydb"].connectionLimit = 50;

docs/recipes/null-support.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"related": [
66
"function-isnull",
77
"function-nullvalue",
8-
"developing-with-lucee-server"
8+
"developing-with-lucee-server",
9+
"function-structkeyexists"
910
],
1011
"description": "This document explains how to set null support in the Lucee server admin, assigning `null` value for a variable and how to use `null` and `nullvalue`.",
1112
"keywords": [

0 commit comments

Comments
 (0)