Hey Folks!
I've created a first version of a CouchbaseLite Swift wrapper library,
because I felt like working with Couchbase Lite could be easier and more
integrated.
That's why I've kept an eye on Swifts built in CollectionTypes,
to enable easy looping - with direct support of CBLModel!
As upon now, it makes Database and Model handling easier as well as Quering:
for user in Query<User>()
.with("givenName != ''")
.or("familyName != ''")
.and(["age < 18","age > 50"], logic: .OR)
.orderBy("familyName", sort: .DESC){
print("\(user.givenName) \(user.familyName)")
}
It would be cool to push this even further - any suggestions are welcome!
Feel free to open issues and/or add pull requests at the projects home base:
https://gitlab.com/mandelkind/CouchbaseLiteSwift
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/276651fd-81d7-486d-805e-9376e429a3b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.