File tree Expand file tree Collapse file tree
src/crossbyte/db/sql/sqlite Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import haxe.Int64;
2727 */
2828@:access (crossbyte.db.sql.sqlite. SQLiteStatement )
2929class SQLiteConnection extends EventDispatcher {
30- public static inline var isSupported : Bool = #if windows true ; #else false ; #end
30+ public static inline var isSupported : Bool = #if cpp true ; #else false ; #end
3131
3232 @:noCompletion private static inline var DEFAULT_CACHE_SIZE : UInt = 2000 ;
3333
@@ -343,6 +343,18 @@ class SQLiteConnection extends EventDispatcher {
343343 }
344344 }
345345
346+ public inline function request (sql : String ): ResultSet {
347+ return __connection .request (sql );
348+ }
349+
350+ public inline function escape (value : String ): String {
351+ return __connection .escape (value );
352+ }
353+
354+ public inline function quote (value : String ): String {
355+ return __connection .quote (value );
356+ }
357+
346358 public function commit (): Void {
347359 if (__async ) {
348360 #if cpp
You can’t perform that action at this time.
0 commit comments