deusaquilus on minor_quat_fixes_3
Incorrect var (compare)
deusaquilus on minor_quat_fixes_3
Take2 (compare)
deusaquilus on minor_quat_fixes_3
Memoize quats (compare)
deusaquilus on minor_quat_fixes_2
Caching Quats (compare)
deusaquilus on master
Minior Quat Fixes and More Tests Cache env lookups for better pe… Merge pull request #2057 from g… (compare)
Hi! When trying to run docker-compose run --rm sbt sbt test
I get the following error:
Get:3 http://deb.debian.org/debian stretch/main amd64 nodejs amd64 4.8.2~dfsg-1 [3440 kB]
E: Failed to fetch http://deb.debian.org/debian/pool/main/i/icu/libicu57_57.1-6+deb9u3_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Any pointers for fixing this would be appreciated
class class Outer(field1: Int, ignoredName: SomeEmbeddedCaseClass)
)
case class Person(name: String)
and case class Row(owner: Person)
the field name would be owner_name
Hi all,
I'm trying to refactor the following dynamic query into a compile-time version:
val query = if (fetchingForward)
quote {
filterBy(criteria).sortBy(_.id)(Ord.desc)
}
else
quote {
filterBy(criteria).sortBy(_.id)(Ord.asc)
}
I was trying the following:
val sortOrder: Ord[Int] = if (fetchingForward) Ord.desc else Ord.asc
val query = quote {
filterBy(criteria).sortBy(_.id)(lift(sortOrder))
}
However, I'm getting the exception during macro expansion
error. Any suggestion on how I can fix this? Cheers.
MappedEncoding
imported but it appears to be ignored (as it would be mapping to an ISO string but is still mapped to what looks like an epoch second in stead). Is there any extra configuration to override the dencoders for those types that Quill is already aware of?
Hello,
what is the current recommendation about what async context to use with Quill 3.6.0 for PostgreSQL and with Scala 2.13?
There are some alternatives, but
is there any way to reuse querySchema definitions. for example
case class Person(name: String, age: Int) extends Embedded
case class Unit(stuff:Int,person:Person)
val q = quote{querySchema[Person]("table",
_.name-> "NAMED",_.age->"MyAge")}
val m = ctx.run(query[Unit].filter(p => p.person.name == "John"))
I would like to be able to use the schema defined for Person in the query defined for Unit either through implicits or combining 2 querySchemas
Table case class is
case class DailyOrgActivity(
orgId: UUID,
date: String,
nuggetId: UUID,
userId: String)
want to filter between startTime and endTime which are both org.joda.time.Datetime
how to do that in easy and effectibve way.
Right now I am getting a List(string ) between these two dates and using.filter(activity => liftQuery(inDatesChunk).contains(activity.date))
but it is not a good way.
interface
with all the methods you need, returning java types and collections, and implement this interface in Scala using Quill. This should be possible.