Skip to content

Commit 85af7ba

Browse files
committed
Add the FETCH_CLASS constant
1 parent f669ab8 commit 85af7ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/JSONDB/JSONDB.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ class JSONDB
8484
*/
8585
const FETCH_OBJECT = 5;
8686

87+
/**
88+
* Define if we fetch results as objects
89+
* @const int
90+
*/
91+
const FETCH_CLASS = 6;
92+
8793
/**
8894
* The current JSONDB instance
8995
* @var JSONDB

0 commit comments

Comments
 (0)