import FirebaseCommunity
import HandyJSON

open class FireRecord: FirebaseModel {
    public var key: String?
    public static var fireRecordReference: DatabaseReference?
    public static var fireRecordQuery: DatabaseQuery?

    required public init() {}
    
    public func mapping(mapper: HelpingMapper) {
        mapper >>> key
        mapper >>> FireRecord.fireRecordReference
        mapper >>> FireRecord.fireRecordQuery
    }
}



import FirebaseCommunity
import HandyJSON

open class FireRecord: FirebaseModel {
    public var key: String?
    public static var fireRecordReference: DatabaseReference?
    static var fireRecordQuery: DatabaseQuery?

    required public init() {}
    
    public func mapping(mapper: HelpingMapper) {
        mapper >>> key
        mapper >>> FireRecord.fireRecordReference
        mapper >>> FireRecord.fireRecordQuery
    }
}




--- 
+++ 
@@ -4,7 +4,7 @@
 open class FireRecord: FirebaseModel {
     public var key: String?
     public static var fireRecordReference: DatabaseReference?
-    static var fireRecordQuery: DatabaseQuery?
+    public static var fireRecordQuery: DatabaseQuery?
 
     required public init() {}
     
@@ -16,4 +16,3 @@
 }
 
 
-
Update public database query property
