Lines Matching refs:to
10 * Unless required by applicable law or agreed to in writing, software
78 * Holds all type adapters and can create on demand composite type adapters to convert a type into a
155 * Searches 1 way to bind a value into a statement.
171 // this safeguard allows us to dispatch the real problem to the user (e.g. why we couldn't
173 val columnAdapter = getAllColumnAdapters(binder.to).firstOrNull() ?: return null
190 * Searches 1 way to read it from cursor
209 * Tries to reverse the converter going through the same nodes, if possible.
223 types.isSameType(it.from, converter.to) && types
224 .isSameType(it.to, converter.from)
245 val fromCursor = reverse(intoStatement) ?: findTypeConverter(intoStatement.to, out)
247 return CompositeAdapter(out, getAllColumnAdapters(intoStatement.to).first(), intoStatement,
315 * Find a converter from cursor to the given type mirror.
316 * If there is information about the query result, we try to use it to accept *any* POJO.
378 // try to guess user's intention and hope that their query fits the result.
408 // maybe user wants to convert this collection themselves. look for a match
447 outputs.any { output -> types.isSameType(output, it.to) }
457 excludes.add(it.to)
464 val from = prev.to
471 excludes.add(it.to)
496 !excludes.any { types.isSameType(it, converter.to) }