Optional
link: PoolOptional
transaction: MySQLDriverTransactionProtected
connectedProtected
entityA cache to make entity retrieval faster.
Protected
entityA counter for the entity cache to determine the most accessed entities.
Protected
linkPrivate
mysqlProtected
nymphProtected
prefixProtected
transactionOptional
guid: null | stringOptional
tags: null | string[]Protected
cleanThis is used internally by Nymph. Don't call it yourself.
A clone of this instance.
Private
createOptional
className: null | string | EntityConstructorProtected
entitySearch through a value for an entity reference.
Any value to search.
An entity, GUID, or array of either to search for.
True if the reference is found, false otherwise.
Protected
findPrivate
getProtected
getInitialize the Nymph driver.
This is meant to be called internally by Nymph. Don't call this directly.
The Nymph instance.
Protected
internalProtected
iteratePrivate
makeGenerate the MySQL query.
The options array.
The formatted selector array.
Used to track internal params.
Used to store internal params.
Whether only a subquery should be returned.
The SQL query.
Protected
performProtected
posixProtected
pullPull an entity from the cache.
The entity's GUID.
The entity's class.
Optional
useSkipAc: booleanWhether to tell the entity to use skip_ac.
The entity or null if it's not cached.
Protected
pushPush an entity onto the cache.
The entity's GUID.
The entity's cdate.
The entity's mdate.
The entity's tags.
The entity's data.
The entity's sdata.
Private
queryPrivate
queryPrivate
queryPrivate
queryProtected
saveOptional
startTransactionCallback: null | (() => Promise<void>)Optional
commitTransactionCallback: null | ((success) => Promise<boolean>)Private
translateStatic
escapeStatic
escape
The MySQL Nymph database driver.